home *** CD-ROM | disk | FTP | other *** search
/ Shareware Universe - The Gold Collection / Shareware Universe The Gold Collection.iso / wind / macaffee / macaffee.go < prev    next >
Encoding:
Text File  |  1996-04-19  |  228.9 KB  |  5,856 lines

  1. VirusScan Version 2.1.1
  2.                        Copyright 1994 by McAfee, Inc.
  3.                             All Rights Reserved.
  4.  
  5.               Documentation by Aryeh Goretsky and Logical Arts.
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.             McAfee, Inc.                 (408) 988-3832 office
  26.             2710 Walsh Avenue            (408) 970-9727 fax
  27.             Santa Clara, CA  95051-0963  (408) 988-4004 BBS (25 lines)
  28.             U.S.A.                       USR HST/v.32/v.42bis/MNP1-5
  29.                                          CompuServe        GO MCAFEE
  30.                                          InterNet support@mcafee.COM
  31.                                          America Online       MCAFEE
  32.  
  33.            Using VirusScan (Version 2.1.1)                           
  34.             
  35.             TABLE OF CONTENTS
  36.  
  37.             Chapter 1: Welcome to VirusScan  / 1   
  38.                        What VirusScan includes  / 3 
  39.                        System requirements  / 5
  40.                        License and registration  / 6
  41.                        Technical support  / 6 
  42.             Chapter 2: Don't skip this chapter  / 10 
  43.                        Installing VirusScan  / 11 
  44.                        Scanning your system  / 14 
  45.                        If you detect a virus  / 16 
  46.                        Activating VShield  / 19 
  47.                        Making a clean start-up diskette  / 21 
  48.                        Running the VirusScan programs  / 23 
  49.                        When to rescan  / 25 
  50.                        Updating VirusScan regularly  / 25 
  51.             Chapter 3: VirusScan reference  / 28 
  52.                        Technical overview  / 30 
  53.                        Validating Scan  / 31 
  54.                        Running Scan from the command line  / 31 
  55.                        Scan command line option summary  / 33 
  56.                        Scan option descriptions  / 35
  57.                        Cleaning viruses  / 45 
  58.                        Examples  / 49 
  59.                        Error levels  / 50
  60.                        Application note 1: Updating validation codes  / 52 
  61.                        Application note 2: Reformatting infected 
  62.                           diskettes with DOS 5.0 and later  / 52 
  63.                        Technical note 1: Creating an exception 
  64.                           list file for the /EXCLUDE option  / 53 
  65.             Chapter 4: VShield reference  / 54 
  66.                        Four levels of protection  / 57 
  67.                        Running VShield  / 59 
  68.                        VShield option summary  / 63 
  69.                        VShield option descriptions  / 65 
  70.                        Deciding which options are for you  / 72 
  71.                        Examples  / 74 
  72.                        Error levels  / 75 
  73.                        Using VShieldCRC  / 76 
  74.                        VShieldCRC option summary  / 77 
  75.                        Using CheckVShield  / 78 
  76.                        Technical note 1: Creating an exception list 
  77.                           for the /EXCLUDE option  / 80 
  78.                        Technical note 2: Sample NetWare login 
  79.                           script and .BAT file  / 81 
  80.             Chapter 5: Tips & troubleshooting  / 82 
  81.             Appendix A: Retrieving McAfee programs with
  82.                         communications software  / 90 
  83.             Appendix B: Options comparison between VirusScan 
  84.                         versions 1.5 and 2.1.1  / 92 
  85.             Glossary  / 102
  86.             
  87.             
  88.            Using VirusScan (Version 2.1.1)                           1
  89.  
  90.             CHAPTER 1: WELCOME TO VIRUSSCAN
  91.             
  92.             Thank you for purchasing McAfee(R)'s VirusScan(TM)
  93.             software, a powerful and advanced system
  94.             designed to detect, eradicate, and prevent
  95.             computer viruses. VirusScan will help you
  96.             protect one of your most important assets--the
  97.             information on your personal computer or local
  98.             area network.
  99.             
  100.             VirusScan includes two main programs:
  101.             
  102.             o The Scan program detects known viruses in your
  103.               computer's memory or on disks. It can also
  104.               detect new and unknown viruses. Once viruses
  105.               are detected, it can remove them and restore
  106.               your system to normal operation. The Scan
  107.               program comes in two forms:
  108.  
  109.               o A graphical interface so that you can select
  110.                 commands and options using a mouse and
  111.                 keyboard, if you like. For instructions,
  112.                 see the on-line documentation.
  113.               
  114.               o A command line interface, so you can run the
  115.                 program and select options by typing from a
  116.                 command prompt or from batch or script files,
  117.                 if you prefer.
  118.  
  119.             o The VShield(TM) memory-resident program
  120.               continuously monitors and protects your
  121.               system from viruses that might be introduced.
  122.             
  123.             The VirusScan programs run on IBM-PC or 100%
  124.             compatible personal computers (PCs) that use
  125.             DOS, Windows, or OS/2.
  126.             
  127.             VirusScan is an important element of a
  128.             comprehensive security program that includes a
  129.             variety of safety measures, such as regular
  130.             backups, meaningful password protection,
  131.             training, and awareness. We urge you to set up
  132.             and comply with such a security program in your
  133.             organization. For tips on how to do this, see
  134.             "Other sources of information" in this chapter.
  135.             
  136.             
  137.             
  138.             
  139.             
  140.             
  141.             
  142.             
  143.            Using VirusScan (Version 2.1.1)                           2
  144.             
  145.             HOW TO USE THIS MANUAL
  146.             
  147.             This manual will help you get VirusScan running
  148.             quickly and properly on DOS, Windows, and OS/2
  149.             systems.
  150.             
  151.             All the key information is in Chapter 2, "Don't
  152.             skip this chapter." Please don't install
  153.             VirusScan before reading it, even if you are a
  154.             PC power user or already familiar with Scan.
  155.             Installing and using VirusScan is not like using
  156.             other software.
  157.             
  158.             The rest of Chapter 1, "Welcome to VirusScan,"
  159.             describes the programs and files on your
  160.             VirusScan disk, system requirements, how to
  161.             register, and how to get help.
  162.             
  163.             Chapter 3, "VirusScan reference," and Chapter 4,
  164.             "VShield reference," contain reference
  165.             information for Scan and VShield, respectively.
  166.             Many users will not need to read these chapters,
  167.             because basic operation of VirusScan, as
  168.             described in Chapter 2, will detect and remove
  169.             most viruses from your system. The options
  170.             described in Chapters 3 and 4 offer additional
  171.             power and control, and are most useful in
  172.             vulnerable environments and to network
  173.             administrators and information services staff.
  174.             
  175.             Chapter 5, "Tips & troubleshooting," explains
  176.             how to get the most out of VirusScan, and how to
  177.             cope with some common problems.
  178.             
  179.             Appendix A describes how to retrieve new
  180.             versions of McAfee programs using your
  181.             communications software.
  182.             
  183.             Appendix B describes differences in command line
  184.             options between VirusScan version 1.5 and
  185.             version 2.1.1.
  186.             
  187.             
  188.             
  189.             
  190.             
  191.             
  192.             
  193.             
  194.             
  195.             
  196.             
  197.             
  198.            Using VirusScan (Version 2.1.1)                           3
  199.             
  200.             NOTATION
  201.  
  202.             In this manual, we use several conventions to distinguish
  203.             particular kinds of text.
  204.  
  205.             CONVENTION     │  EXAMPLE     │  REPRESENTS
  206.             ═══════════════╪══════════════╪══════════════════════════
  207.             Uppercase      │  C:\>        │  What your
  208.                            │              │  computer displays
  209.                            │              │  on your screen.
  210.             ───────────────┼──────────────┼──────────────────────────
  211.             Lowercase      │  scan c:     │  What you
  212.                            │              │  type, verbatim.
  213.             ───────────────┼──────────────┼──────────────────────────
  214.             Curly braces   │  {filename}  │  Required
  215.                            │              │  element; do not
  216.                            │              │  type braces { }.
  217.             ───────────────┼──────────────┼──────────────────────────
  218.             Square braces  │  [filename]  │  Optional
  219.                            │              │  element; do not
  220.                            │              │  type braces [ ].
  221.             ───────────────┼──────────────┼──────────────────────────
  222.             Upper-case in  │  <ENTER>     │  Key to press
  223.             brackets       │              │  on the
  224.                            │              │  keyboard.
  225.  
  226.             WHAT VIRUSSCAN INCLUDES
  227.             
  228.             In addition to Scan and VShield, your VirusScan
  229.             diskette contains another program that will help
  230.             you use VirusScan. The Validate program ensures
  231.             that new versions of VirusScan software you've
  232.             obtained are authentic and unmodified.
  233.             
  234.             Your VirusScan diskette also contains several
  235.             useful text files, which you can view and print
  236.             with a text editor, word processor, or print
  237.             command. You'll find version-specific
  238.             information in the README.1ST file.
  239.             
  240.             
  241.             
  242.             
  243.             
  244.             
  245.             
  246.             
  247.             
  248.             
  249.             
  250.             
  251.             
  252.  
  253.            Using VirusScan (Version 2.1.1)                           4
  254.             
  255.             VIRUSSCAN FILES AFTER UNPACKING
  256.  
  257.             After unpacking VirusScan you should have appropriate
  258.             program files on your system for the version you have
  259.             obtained (DOS, Windows, or OS/2). Several useful text
  260.             files are also included.
  261.  
  262.             VirusScan for DOS.
  263.             AGENTS.TXT   - lists McAfee authorized agents.
  264.             CLEAN.DAT    - virus removal data file required by SCAN.EXE
  265.             COMPUSER.NOT - explains how to obtain CompuServe membership
  266.             FILE_ID.DIZ  - description of VirusScan used by some BBS
  267.                            software
  268.             LICENSE.TXT  - explains how to license VirusScan
  269.             NAMES.DAT    - virus name data file required by SCAN.EXE
  270.             PACKING.LST  - contains a list of all files, including
  271.                            validation information
  272.             README.1ST   - late-breaking information and new
  273.                            instructions not contained in this manual
  274.             REGISTER.TXT - explains how to register VirusScan for
  275.                            your use
  276.             SCAN.DAT     - virus string data file required by SCAN.EXE
  277.             SCAN.EXE     - the VirusScan program
  278.             SCAN.TXT     - on-line manual for Scan
  279.             VALIDATE.EXE - used to check VirusScan programs for
  280.                            authenticity
  281.             VALIDATE.TXT - explains how to run VALIDATE.EXE
  282.  
  283.             VShield
  284.             AGENTS.TXT   - lists McAfee authorized agents.
  285.             CHKVSHLD.EXE - checks for presence of VShield and VShieldCRC
  286.                            in memory
  287.             COMPUSER.NOT - explains how to obtain CompuServe membership
  288.             FILE_ID.DIZ  - description of VShield used by some BBS
  289.                            software
  290.             LICENSE.TXT  - explains how to license VShield
  291.             PACKING.LST  - contains a list of all files, including
  292.                            validation information
  293.             REGISTER.TXT - explains how to register VirusScan for 
  294.                            your use
  295.             VALIDATE.EXE - used to check VirusScan programs for
  296.                            authenticity
  297.             VALIDATE.TXT - explains how to run VALIDATE.EXE
  298.             VSHIELD.DAT  - virus string data file required by
  299.                            VSHIELD.EXE
  300.             VSHIELD.EXE  - the VShield program
  301.             VSHIELD.TXT  - on-line manual for VShield
  302.             VSHLDCRC.EXE - the VShieldCRC program
  303.             VSHLDWIN.EXE - used by VShield and VShieldCRC to display
  304.                            messages within Windows
  305.  
  306.  
  307.  
  308.            Using VirusScan (Version 2.1.1)                           5
  309.  
  310.             VirusScan for OS/2
  311.             AGENTS.TXT   - lists McAfee authorized agents.
  312.             CLEAN.DAT    - virus removal data file required by
  313.                            OS2SCAN.EXE
  314.             COMPUSER.NOT - explains how to obtain CompuServe membership
  315.             FILE_ID.ZIP  - description of VirusScan used by some BBS
  316.                            software
  317.             LICENSE.TXT  - explains how to license VirusScan
  318.             NAMES.DAT    - virus name data file required by OS2SCAN.EXE
  319.             PACKING.LST  - contains a list of all files, including
  320.                            validation information
  321.             README.1ST   - late-breaking information and new
  322.                            instructions not contained in this manual
  323.             REGISTER.DOC - explains how to register VirusScan for your
  324.                            use
  325.             OS2SCAN.EXE  - the VirusScan program
  326.             SCAN.DAT     - virus string data file required by
  327.                            OS2SCAN.EXE
  328.             SO32DLL.DLL  - dynamic link library required by OS2SCAN.EXE
  329.             TCP32DLL.DLL - dynamic link library required by OS2SCAN.EXE
  330.             USR32DLL.DLL - dynamic link library required by OS2SCAN.EXE
  331.             VALIDATE.EXE - used to check VirusScan programs for
  332.                            authenticity
  333.             VALIDATE.TXT - explains how to run VALIDATE.EXE
  334.            
  335.             SYSTEM REQUIREMENTS
  336.             
  337.             The VirusScan programs require an IBM-compatible
  338.             personal computer and any of the following
  339.             operating systems:
  340.             
  341.             o DOS 3.1 or later and at least 340Kb of free
  342.               RAM for the command line programs and 530Kb
  343.               of free RAM for the graphical programs.
  344.  
  345.             o Windows 3.1 or later and at least 4Mb of RAM.
  346.  
  347.             o IBM OS/2 2.1 or later and at least 8Mb of RAM.
  348.  
  349.             VShield is a terminate-and-stay-resident (TSR)
  350.             program that requires 67Kb of free memory.
  351.             VShield attempts to minimize the use of
  352.             conventional memory by loading into expanded,
  353.             extended, or upper memory. For more information,
  354.             see "VShield reference" in Chapter 4.
  355.             
  356.             You'll need a high-density 3.5" diskette drive
  357.             to use the VirusScan diskette in this package.
  358.             Contact McAfee for other media, or download the
  359.             software from the McAfee bulletin board system
  360.             (BBS).
  361.             
  362.             
  363.            Using VirusScan (Version 2.1.1)                           6
  364.             
  365.             LICENSE AND REGISTRATION
  366.             
  367.             The VirusScan software is provided under license
  368.             from McAfee, Inc., a copy of which is provided
  369.             with this manual. Please read it and comply with
  370.             it.
  371.             
  372.             Also, please fill out and return the
  373.             registration form in your VirusScan package.
  374.             Registration entitles you to upgrades at no
  375.             charge from McAfee's bulletin board system and
  376.             other sources, as well as technical support, for
  377.             one year from your date of purchase.
  378.             
  379.             TECHNICAL SUPPORT
  380.             
  381.             For help in using this product, we invite you to
  382.             contact McAfee technical support. You can
  383.             contact us:
  384.             
  385.             o On-line 24 hours a day, through our bulletin
  386.               board system, CompuServe, or Internet (see
  387.               "On-line access to updates and technical
  388.               support" below);
  389.  
  390.             o By fax, at (408) 970-9727; or
  391.  
  392.             o By telephone at (408) 988-3832, Monday through
  393.               Friday, 6:00 am to 5:00 pm Pacific Standard
  394.               Time.
  395.  
  396.             For fast and accurate help, please have the
  397.             following information ready when you contact
  398.             McAfee:
  399.             
  400.             o Program name and version number.
  401.  
  402.             o Type and brand of computer, hard disk, and any
  403.               peripherals.
  404.  
  405.             o Version of DOS, along with any TSRs or device
  406.               drivers in use.
  407.  
  408.             o Printouts of your AUTOEXEC.BAT and CONFIG.SYS
  409.               files.
  410.  
  411.             o A printout of the contents of memory, from the
  412.               MEM command (provided in DOS 4.0 and later)
  413.               or a similar utility.
  414.  
  415.             
  416.             
  417.             
  418.            Using VirusScan (Version 2.1.1)                           7
  419.             
  420.             o A description of the exact problem you are
  421.               having. Please be as specific as possible. If
  422.               you can't be at your computer when you call,
  423.               a printout of the screen will be helpful.
  424.  
  425.             If you are overseas, you can contact a McAfee
  426.             authorized agent. Agents are located in more
  427.             than 50 countries around the world and provide
  428.             local sales and support for our software. Please
  429.             refer to the AGENTS.TXT file for a complete list
  430.             of McAfee agents.
  431.             
  432.             ON-LINE ACCESS TO UPDATES AND TECHNICAL SUPPORT
  433.             
  434.             McAfee updates VirusScan monthly to add new
  435.             virus detectors, new options, and fix reported
  436.             bugs. To distribute these new versions, we run a
  437.             multi-line bulletin board system, a forum on
  438.             CompuServe, and an Internet node.
  439.             
  440.             MCAFEE BULLETIN BOARD SYSTEM (BBS)
  441.             
  442.             Our multi-line BBS is accessible 24 hours a day,
  443.             365 days a year, except for scheduled downtime
  444.             and maintenance. All lines run high-performance
  445.             modems operating from 1,200 bps to 14,400 bps
  446.             with line settings of 8 data bits, no parity,
  447.             and 1 stop bit. The McAfee BBS phone number is
  448.             (408) 988-4004.
  449.             
  450.             Appendix A, "Retrieving McAfee programs with
  451.             communications software" explains how to dial up
  452.             the McAfee BBS. Both technical support and
  453.             software updates are available on the bulletin
  454.             board.
  455.             
  456.             MCAFEE FORUM ON COMPUSERVE
  457.             
  458.             We sponsor the McAfee Virus Help Forum on
  459.             CompuServe. To reach it, type GO MCAFEE at any
  460.             CompuServe prompt. A free introductory
  461.             membership is available. For more information,
  462.             please read the enclosed COMPUSER.TXT file.
  463.             
  464.             
  465.             
  466.             
  467.             
  468.             
  469.             
  470.             
  471.             
  472.  
  473.            Using VirusScan (Version 2.1.1)                           8
  474.             
  475.             INTERNET ACCESS
  476.             
  477.             The latest versions of McAfee's anti-virus
  478.             software are available by anonymous ftp (file
  479.             transfer protocol) over the Internet from the
  480.             site mcafee.com. If your domain resolver does
  481.             not support names, use the IP address
  482.             192.187.128.1. Enter anonymous or ftp as your
  483.             user ID and your own e-mail address as the
  484.             password. Programs are located in the
  485.             pub/antivirus directory. If you have questions,
  486.             please send e-mail to support@mcafee.com.
  487.             
  488.             You can also find McAfee's anti-virus software
  489.             at the SimTel Software Repository at
  490.             Oak.Oakland.EDU in the simtel/msdos/virus
  491.             directory and its associated mirror sites:
  492.             
  493.             o wuarchive.wustl.edu (US).
  494.             o ftp.switch.ch (Switzerland).
  495.             o ftp.funet.fi (Finland).
  496.             o src.doc.ic.ac (UK).
  497.             o archie.au (Australia).
  498.  
  499.             MCAFEE PRODUCTS AND SERVICES
  500.             
  501.             Founded in 1989, McAfee, Inc. is the leading
  502.             provider of tools for productive computing for
  503.             the DOS, OS/2, and Windows environments. Our
  504.             anti-virus products are used by more than 16,000
  505.             corporations worldwide. Our utility products
  506.             provide data security, automated version
  507.             updating, and system inspection and editing.
  508.             McAfee is also the pioneer and leading provider
  509.             of electronically distributed software. All of
  510.             McAfee's products can be purchased through
  511.             dealers or downloaded from bulletin board
  512.             systems and on-line services around the world.
  513.             
  514.             McAfee doesn't stop at developing the world's
  515.             best anti-virus and utility products. We back
  516.             them with the industry's best service and
  517.             technical support. Product support is provided
  518.             by a full-time staff of virus researchers,
  519.             programmers, and support professionals, and
  520.             delivered directly by McAfee or our network of
  521.             more than 150 Authorized Agent offices in more
  522.             than 50 countries worldwide.
  523.             
  524.             
  525.             
  526.             
  527.             
  528.            Using VirusScan (Version 2.1.1)                           9
  529.             
  530.             OTHER SOURCES OF INFORMATION
  531.             
  532.             The McAfee BBS and CompuServe Virus Help Forum
  533.             are excellent sources of information on virus
  534.             protection. Batch files and utilities to help
  535.             you use VirusScan software are often available,
  536.             along with helpful advice.
  537.             
  538.             Independent publishers, colleges, training
  539.             centers, and vendors also offer information and
  540.             training about virus protection and computer
  541.             security.
  542.             
  543.             We especially recommend the following books:
  544.             
  545.             o Ferbrache, David. A Pathology of Computer
  546.               Viruses. London: Springer-Verlag, 1992.
  547.               (ISBN 0-387-19610-2)
  548.  
  549.             o Hoffman, Lance J. Rogue Programs: Viruses,
  550.               Worms, and Trojan Horses. Van Nostrand
  551.               Reinhold, 1990. (ISBN 0-442-00454-0)
  552.  
  553.             o Jacobson, Robert V. The PC Virus Control
  554.               Handbook, 2nd Ed. San Francisco: Miller
  555.               Freeman Publications, 1990. (ISBN 0-87930-194-0)
  556.  
  557.             o Jacobson, Robert V. Using McAfee Associates
  558.               Software for Safe Computing. New York:
  559.               International Security Technology, 1992.
  560.               (ISBN 0-9627374-1-0)
  561.  
  562.             In addition, the following sources can provide
  563.             useful information about viruses:
  564.             
  565.             o National Computer Security Association (NCSA)
  566.               10 South Courthouse Avenue
  567.               Carlisle, PA 17013
  568.  
  569.             o CompuServe VIRUSFORUM
  570.  
  571.             o Internet comp.virus newsgroup
  572.  
  573.  
  574.  
  575.  
  576.  
  577.  
  578.  
  579.  
  580.  
  581.  
  582.  
  583.            Using VirusScan (Version 2.1.1)                           10
  584.             
  585.             CHAPTER 2: DON'T SKIP THIS CHAPTER
  586.             or, What You Really Need to Know About VirusScan
  587.             
  588.             We're serious about this. Installing and running
  589.             the VirusScan(TM) programs is not like using
  590.             other software. Even if you are a personal
  591.             computer power user, use the VirusScan
  592.             installation procedure and follow the tasks in
  593.             this chapter.
  594.             
  595.             The reason is to avoid spreading a computer
  596.             virus infection. Viruses spread when you start
  597.             your computer (sometimes called booting) from an
  598.             infected disk, or when you run an infected
  599.             program. If your computer is infected,
  600.             installing and running VirusScan on your hard
  601.             disk may spread the infection, even to the
  602.             VirusScan programs themselves. The tasks in this
  603.             chapter will ensure that you have a clean
  604.             environment to detect, eradicate, and prevent
  605.             viruses.
  606.             
  607.             This is like a surgical team establishing a
  608.             "sterile field" before performing surgery. Once
  609.             it is established, they make sure that
  610.             everything brought into the field has already
  611.             been sterilized. In this procedure, you will
  612.             create a clean anti-viral start-up diskette with
  613.             which you can always re-establish the sterile
  614.             field.
  615.             
  616.             Your VirusScan diskette is write-protected to
  617.             ensure that no virus can alter the programs and
  618.             information stored there. Under no circumstances
  619.             should you remove the write protection.
  620.             
  621.             Here's a summary of the tasks you'll follow in
  622.             this chapter:
  623.             
  624.             o Installing VirusScan
  625.             o Scanning your system.
  626.             o If you detect a virus.
  627.             o Activating VShield(TM).
  628.             o Making a clean start-up (boot) diskette.
  629.             o Running the VirusScan programs.
  630.             o When to scan for viruses.
  631.             o Updating VirusScan regularly.
  632.  
  633.             
  634.             
  635.             
  636.             
  637.  
  638.            Using VirusScan (Version 2.1.1)                           11
  639.             
  640.             NOTE: Because OS/2 programs run in a protected
  641.             mode, OS/2 systems are not vulnerable to viruses
  642.             as DOS and Windows systems are. Many OS/2 users
  643.             run DOS and Win-OS/2 sessions, however, and they
  644.             are still vulnerable. By using the VirusScan
  645.             programs as described in this manual, you can
  646.             protect the DOS and Win-OS/2 portions of your
  647.             OS/2 system from infection.
  648.             
  649.             INSTALLING VIRUSSCAN
  650.  
  651.             This task explains how to check your system and install the
  652.             VirusScan software under DOS, Windows, or OS/2. Don't use
  653.             any other method to install VirusScan, or you risk spreading
  654.             a virus.
  655.             
  656.             INSTALLATION STEPS
  657.  
  658.             Start from the system prompt (C:\> or [C:\]). If you are
  659.             running Windows or an application program, exit from it to
  660.             display the prompt. If you are running OS/2, close all DOS
  661.             and Win-OS/2 sessions open the Command Prompts folder in the
  662.             OS/2 System folder, and click on either the OS/2 Full Screen
  663.             or OS/2 Window icons.
  664.  
  665.             After typing each entry on the command line, press <ENTER>.
  666.  
  667.             1. Create a directory to contain the VirusScan files, as
  668.                in the following example:
  669.  
  670.                     C:\> mkdir c:\mcafee
  671.  
  672.                and press <ENTER>. 
  673.  
  674.                If you have an earlier version of VirusScan already
  675.                installed, create a separate directory (such as 
  676.                c:\newvscan) for the new version. (You should test 
  677.                the new version before removing the earlier version.)
  678.  
  679.             2. Copy the VirusScan archived (.ZIP) file to this 
  680.                directory, as in the following example:
  681.  
  682.                     C:\> copy c:\download\*.zip c:\mcafee
  683.  
  684.                and press <ENTER>.
  685.  
  686.             3. Change to the VirusScan directory you just created,
  687.                as in the following example:
  688.  
  689.                     C:\> cd c:\mcafee
  690.  
  691.                and press <ENTER>.
  692.  
  693.            Using VirusScan (Version 2.1.1)                           12
  694.             
  695.             4. Unzip the file using PKUNZIP.EXE, as in the following
  696.                example:
  697.  
  698.                     C:\mcafee> PKUNZIP *.ZIP
  699.  
  700.                and press <ENTER>.
  701.             
  702.             5. Run VirusScan to check your local hard disk(s) by
  703.                typing:
  704.  
  705.                     c:\mcafee> scan /adl
  706.  
  707.                and pressing <ENTER>. It may take several minutes
  708.                for the Scan program to check for viruses in memory,
  709.                then on the system and user portions of your drives.
  710.                Scan keeps you informed of its progress. Read the
  711.                information carefully, and write down the name of any
  712.                viruses Scan reports.
  713.  
  714.             6. If Scan reports no virus found, congratulations--
  715.                most likely your system is currently virus-free. 
  716.                Continue with "Making a Clean Start-Up Diskette" 
  717.                in this chapter.
  718.  
  719.                If Scan finds one or more viruses, you'll see a message like:
  720.                
  721.                     Found the Jerusalem Virus
  722.  
  723.                and installation will stop. Don't panic, even if the
  724.                virus has infected many files. At the same time, don't
  725.                run any other programs, especially if the virus is
  726.                found in memory. Go directly to "If you detect a virus"
  727.                later in this chapter for further instructions.
  728.  
  729.             7. Create a directory on your hard disk to store the
  730.                VirusScan files in by typing:
  731.  
  732.                     C:\> mkdir mcafee
  733.  
  734.                and pressing <ENTER>.
  735.  
  736.             8. Copy the VirusScan files from the 'VirusScan Program
  737.                Diskette' in drive A: to your hard disk by typing:
  738.  
  739.                     C:\> copy a:\*.* c:\mcafee
  740.  
  741.                and pressing <ENTER>.  VirusScan has now been installed
  742.                onto your hard disk.  Now your system's startup files
  743.                must be modified to find VirusScan on your system.
  744.  
  745.                
  746.  
  747.  
  748.            Using VirusScan (Version 2.1.1)                           13
  749.             
  750.             9. DOS and Windows users: Using a text editor program, 
  751.                load your AUTOEXEC.BAT file.  Locate the path statement,
  752.                which typically begins with a 'PATH' or 'SET PATH ='
  753.                statement.  Place your cursor at the end of this line
  754.                and type:
  755.  
  756.                     ;C:\MCAFEE
  757.  
  758.                and press <ENTER>.  Now save your AUTOEXEC.BAT file and
  759.                exit the editor.
  760.  
  761.                NOTE: If a semi-colon ";" is already present at the end
  762.                      of the line, do not add one to the path statement.
  763.  
  764.                OS/2 users: Make the same change listed above to the
  765.                            'SET PATH=' and 'SET LIBPATH=' statements in
  766.                            your CONFIG.SYS file. Now save your CONFIG.SYS
  767.                            file and exit the editor.
  768.  
  769.             Congratulations! You've successfully installed VirusScan.
  770.             Restart your computer now and continue with this chapter to
  771.             see how you can use VirusScan to keep your computer virus-
  772.             free. We recommend looking over the following sections in
  773.             this chapter:
  774.  
  775.             o "Scanning Your System"
  776.             o "If You Detect A Virus"
  777.             o "Activating VShield"
  778.             o "Making A Clean Start-Up Diskette"
  779.  
  780.             Continue with the remaining tasks in this chapter, beginning
  781.             with "Running the VirusScan Programs" to find out how and
  782.             when to run and update the VirusScan programs.
  783.             
  784.             
  785.             
  786.             
  787.             
  788.             
  789.             
  790.             
  791.             
  792.             
  793.             
  794.             
  795.             
  796.             
  797.             
  798.             
  799.             
  800.             
  801.  
  802.  
  803.            Using VirusScan (Version 2.1.1)                           14
  804.            
  805.             SCANNING YOUR SYSTEM
  806.             
  807.             VirusScan's Scan program examines your PC and
  808.             disks to detect viruses there. The first time
  809.             you run Scan, do so from the original, write-
  810.             protected diskette so that the programs
  811.             themselves cannot be infected.
  812.             
  813.             Start from the system prompt (C> or [C:\]). 
  814.             If you are running Windows or an application
  815.             program, exit from it to display the prompt. If
  816.             you are running OS/2, close all DOS and Win-OS/2
  817.             sessions; then open the Command Prompts folder
  818.             in the OS/2 system folder, and click the OS/2
  819.             Full Screen or OS/2 Window icon.
  820.             
  821.             After typing each entry on the command line,
  822.             press [Enter]. If you include the /REPORT
  823.             option, Scan saves a report of infected files
  824.             and any system errors to a log file that you
  825.             specify.
  826.  
  827.             1. Insert the VirusScan program diskette in drive A.
  828.  
  829.             2. Scan your C drive for known viruses by typing:
  830.  
  831.                DOS or Windows
  832.                     C> a:scan c: /report c:\virus.log
  833.                
  834.                OS/2 
  835.                     [C:\] a:os2scan c: /report c:\virus.log
  836.             
  837.                Or, if you have more than one hard drive, scan
  838.                them in the same way. For example, if you have C
  839.                and D drives:
  840.             
  841.                DOS or Windows
  842.                     C> a:scan c: d: /report c:\virus.log
  843.             
  844.                OS/2
  845.                     [C:\] a:os2scan c: d: /report c:\virus.log
  846.             
  847.                You can also scan all local drives using the
  848.                /ADL option. For example:
  849.             
  850.                DOS or Windows
  851.                     C> a:scan /adl /report c:\virus.log
  852.             
  853.                OS/2
  854.                     [C:\] a:os2scan /adl /report c:\virus.log
  855.             
  856.  
  857.  
  858.            Using VirusScan (Version 2.1.1)                           15
  859.                
  860.                It may take several minutes for the Scan program
  861.                to check for viruses in memory, then on the
  862.                system and user portions of your drives. Scan
  863.                keeps you informed of its progress. Read the
  864.                information on the screen carefully. Below is a
  865.                sample of what Scan reports when checking a
  866.                drive for viruses.
  867.  
  868.                ┌──────────────────────────────────────────────────┐
  869.                │  Virus data file V2.1.204 created Thu Jun 02     │
  870.                │  12:17:53 1994                                   │
  871.                │                                                  │
  872.                │  No viruses found in memory.                     │
  873.                │                                                  │
  874.                │  Scanning C:                                     │
  875.                │  Summary report on C:                            │
  876.                │  File(s)                                         │
  877.                │        Analyzed:.......         1500             │
  878.                │        Scanned:........          750             │
  879.                │        Possibly Infected:.......   0             │
  880.                │        Master Boot Record(s):..    1             │
  881.                │        Possibly Infected:.......   0             │
  882.                │        Boot Sector(s):.........    1             │
  883.                │        Possibly Infected:.......   0             │
  884.                │                                                  │
  885.                │  Time: 60.00 sec.                                │
  886.                └──────────────────────────────────────────────────┘
  887.             
  888.             3. If Scan reports No viruses found,
  889.                congratulations--most likely your system is
  890.                currently virus-free. Skip to "Activating
  891.                VShield" later in this chapter.
  892.  
  893.                If Scan finds one or more viruses, you'll see a
  894.                message like:
  895.  
  896.                ┌──────────────────────────────────────────────────┐
  897.                │  Scanning C:                                     │
  898.                │  Scanning file C:\DOS\ATTRIB.EXE                 │
  899.                │  Found the Jerusalem Virus                       │
  900.                └──────────────────────────────────────────────────┘
  901.           
  902.                DON'T PANIC, even if the virus has infected many
  903.                files. At the same time, don't run any other
  904.                programs, especially if the virus is found in
  905.                memory. Turn to "If you detect a virus" later 
  906.                in this chapter, where VirusScan will help you 
  907.                eradicate it.
  908.             
  909.             NOTE: Scan has many options to control and fine-
  910.             tune the scope, validation, and operation of its
  911.             scan. For details, see Chapter 3 and "Detecting
  912.             new and unknown viruses" in Chapter 5.
  913.            Using VirusScan (Version 2.1.1)                           16            
  914.             
  915.             IF YOU DETECT A VIRUS
  916.             
  917.             In this task, you will run Scan with the /CLEAN
  918.             option to eradicate most known viruses from your
  919.             disks.
  920.             
  921.             NOTE: If you are at all unsure about how to
  922.             proceed once you've found a virus, contact
  923.             McAfee for assistance (see "Technical support"
  924.             in Chapter 1).
  925.             
  926.             We strongly recommend that you get experienced
  927.             help in dealing with viruses if you are
  928.             unfamiliar with anti-virus software and methods.
  929.             This is especially true for "critical" viruses
  930.             and master boot record (MBR or so-called
  931.             "partition table")/boot sector infections,
  932.             because improper removal of these viruses can
  933.             result in the loss of all data and use of the
  934.             infected disks.
  935.             
  936.             RESTART FROM A CLEAN ENVIRONMENT
  937.             
  938.             You must run Scan from a clean, virus-free
  939.             environment. With DOS or Windows, restart from a
  940.             clean diskette. With OS/2, simply close all DOS
  941.             and Win-OS/2 sessions.
  942.             
  943.             DOS OR WINDOWS
  944.             
  945.             With DOS or Windows, the only way to ensure a
  946.             clean environment is to turn your computer off
  947.             to eliminate any viruses in memory, then restart
  948.             from a virus-free diskette, preferably the
  949.             original, write-protected DOS installation
  950.             diskette that came with your computer. If you
  951.             don't have one, borrow or buy one; don't use a
  952.             diskette that might be infected. (See "Making a
  953.             clean start-up diskette" later in this chapter
  954.             for instructions. Create this diskette after you
  955.             clean your system.)
  956.             
  957.             1. Turn off your computer. (Don't just reset or
  958.                reboot, which may leave some viruses intact
  959.                in the computer's memory.)
  960.  
  961.  
  962.  
  963.  
  964.  
  965.  
  966.  
  967.  
  968.            Using VirusScan (Version 2.1.1)                           17            
  969.             
  970.             2. Make sure your clean boot (start-up) diskette
  971.                is write-protected.
  972.  
  973.                o For a 3.5" diskette, slide its corner tab so
  974.                  that the square hole is open.
  975.  
  976.                o For a 5.25" diskette, cover its corner notch
  977.                  with a write-protect tab. Be sure to use the
  978.                  write-protect stickers provided with your
  979.                  diskettes, not tape.
  980.             
  981.             3. Insert your start-up diskette in drive A.
  982.  
  983.             4. Turn on your computer and wait until you see
  984.                the system prompt (probably A>). Don't run
  985.                any programs on your hard disk, or you may
  986.                reactivate the virus.
  987.  
  988.             OS/2
  989.             
  990.             With OS/2, you can eliminate any viruses from
  991.             memory by closing all DOS, Win-OS/2, and virtual
  992.             DOS machine (VDM) sessions. Because OS/2
  993.             programs run in protected mode, viruses cannot
  994.             spread between them.
  995.             
  996.             BACK UP YOUR HARD DISK
  997.             
  998.             Some viruses may leave certain disks or files
  999.             unusable when cleaned up. To increase your
  1000.             chance of recovery, boot from a clean copy of
  1001.             the operating system, then copy all the files on
  1002.             all of your hard disks onto fresh diskettes or a
  1003.             backup tape. You can use a commercial backup
  1004.             program, or the one included with DOS or OS/2.
  1005.             Scan the program disk first to make sure that
  1006.             the backup program itself is not infected. Do
  1007.             not run the backup program if it is infected.
  1008.             Instead, reload it from your original
  1009.             installation diskettes.
  1010.             
  1011.             Although some of the backed-up files may be
  1012.             infected, it is better to have current copies
  1013.             than not. However, don't overwrite previous
  1014.             backup disks or tapes, which may or may not be
  1015.             infected.
  1016.             
  1017.             
  1018.  
  1019.  
  1020.  
  1021.  
  1022.  
  1023.            Using VirusScan (Version 2.1.1)                           18
  1024.             
  1025.             RUN SCAN WITH THE /CLEAN OPTION
  1026.             
  1027.             Start from the system prompt (probably A> or
  1028.             [A:\]). If you are running OS/2, open the
  1029.             Command Prompts folder in the OS/2 system
  1030.             folder, and click the OS/2 Full Screen or OS/2
  1031.             Window icon.
  1032.             
  1033.             After typing each entry on the command line,
  1034.             press [Enter].
  1035.  
  1036.             1. Insert the VirusScan program diskette in drive A.
  1037.             
  1038.             2. Eliminate the first known virus on your hard
  1039.                drive(s) by typing:
  1040.  
  1041.                DOS or Windows
  1042.                A> a:scan /adl /clean
  1043.             
  1044.                OS/2
  1045.                [A:\] a:os2scan /adl /clean
  1046.             
  1047.             Scan keeps you informed of its progress and
  1048.             generally reports virus removed successfully. If
  1049.             Scan reports that the virus could not safely be
  1050.             removed, see the next section, "If viruses were
  1051.             not removed, contact technical support."
  1052.             
  1053.             NOTE: Scan has options to control and fine-tune
  1054.             the scope, validation, and operation of its
  1055.             disinfection. For details, see "Scan option
  1056.             descriptions" in Chapter 3.
  1057.             
  1058.             IF VIRUSES WERE NOT REMOVED, CONTACT TECHNICAL SUPPORT
  1059.             
  1060.             If Scan can't remove a virus, it will tell you:
  1061.             
  1062.                  Virus cannot be removed from this file.
  1063.             
  1064.             Make sure to take note of the filename, because
  1065.             you will need to restore it from backups. Run
  1066.             Scan again, this time using the /CLEAN and /DEL
  1067.             options to delete the remaining infected files,
  1068.             as described in Chapter 3. If you have any
  1069.             questions, contact McAfee (see "Technical
  1070.             support" in Chapter 1).
  1071.             
  1072.             
  1073.  
  1074.  
  1075.  
  1076.  
  1077.  
  1078.            Using VirusScan (Version 2.1.1)                           19
  1079.             
  1080.             IF VIRUSES WERE SAFELY REMOVED, RESCAN AND CHECK DISKETTES
  1081.             
  1082.             If Scan has successfully removed all the
  1083.             viruses, restart your computer. Restart
  1084.             installation as described in "Installing
  1085.             VirusScan" earlier in this chapter. Thereafter,
  1086.             you can proceed to "Making a clean start-up
  1087.             diskette" and "Running the VirusScan programs"
  1088.             later in this chapter.
  1089.             
  1090.             One common source of virus infection is floppy
  1091.             diskettes. Once you've finished installing
  1092.             VirusScan on your hard disk, use Scan again to
  1093.             examine and disinfect the diskettes you use, as
  1094.             described in "When to rescan" later in this
  1095.             chapter.
  1096.             
  1097.             FALSE ALARMS
  1098.             
  1099.             Due to the nature of anti-virus software, there
  1100.             is a possibility that Scan may report a virus in
  1101.             a file that is not infected. This can be more
  1102.             likely if you are using more than one brand of
  1103.             virus protection software, especially if the
  1104.             virus is reported in memory and not anywhere on
  1105.             the disk when you boot.
  1106.             
  1107.             If Scan reports a virus infection that you
  1108.             suspect may be in error, contact McAfee (see
  1109.             "Technical support" in Chapter 1). You can
  1110.             upload the file to our bulletin board system at
  1111.             (408) 988-4004, along with your name, address,
  1112.             daytime telephone number, and electronic mail
  1113.             address (if any).
  1114.             
  1115.             ACTIVATING VSHIELD
  1116.             
  1117.             VirusScan's VShield program can help prevent
  1118.             viruses from infecting your system. It runs as a
  1119.             "terminate-and-stay-resident" (TSR) program,
  1120.             remaining in memory and scanning and
  1121.             intercepting programs as they are executed.
  1122.             
  1123.             To activate VShield at any time:
  1124.             
  1125.             o DOS or Windows
  1126.               Restart your computer by pressing [Ctrl]+[Alt]+[Del], 
  1127.               or by turning it off and then on again, or any 
  1128.               other reset method.
  1129.  
  1130.  
  1131.  
  1132.  
  1133.            Using VirusScan (Version 2.1.1)                           20
  1134.             
  1135.             o OS/2
  1136.               Restart all DOS and Win-OS/2 windows. If you have 
  1137.               difficulties running VShield, it may be due to 
  1138.               conflicts with other TSR programs in your system, 
  1139.               or with other programs that monitor disk access. 
  1140.               See "VShield option summary" in Chapter 4 and 
  1141.               "Troubleshooting VShield" in Chapter 5 for more 
  1142.               information. Contact McAfee technical support if you
  1143.               need help (see "Technical support" in Chapter 1).
  1144.             
  1145.             VShield minimizes the use of conventional memory
  1146.             by attempting to load into extended, expanded,
  1147.             upper memory, or a combination of them, before
  1148.             using conventional memory. For extreme memory
  1149.             limitations, you can use VShield's /SWAP option
  1150.             to reduce memory requirements to 7Kb, although
  1151.             this decreases VShield's speed. For details, see
  1152.             Chapter 4.
  1153.             
  1154.             NOTE: VShield has options to control and fine-
  1155.             tune the scope, validation, and operation of its
  1156.             virus prevention. For details, see Chapter 4. 1
  1157.             When used in conjunction with some Scan options,
  1158.             VShield can help protect your system from new
  1159.             and unknown viruses. For details, see "Detecting
  1160.             new and unknown viruses" in Chapter 5. 1 In
  1161.             OS/2, VShield runs in DOS and Win-OS/2 sessions
  1162.             only, because viruses can operate only in those
  1163.             sessions. 1 In Windows, you can use the VShield
  1164.             icon to turn messages from VShield on and off.
  1165.             (VShield itself, however, remains active.) For
  1166.             details, see Chapter 4.
  1167.             
  1168.  
  1169.  
  1170.  
  1171.  
  1172.  
  1173.  
  1174.  
  1175.  
  1176.  
  1177.  
  1178.  
  1179.  
  1180.  
  1181.  
  1182.  
  1183.  
  1184.  
  1185.  
  1186.  
  1187.  
  1188.            Using VirusScan (Version 2.1.1)                           21
  1189.             
  1190.             MAKING A CLEAN START-UP DISKETTE
  1191.             
  1192.             In DOS or Windows, create a clean anti-viral
  1193.             start-up (boot) diskette that you can use to
  1194.             regain your "sterile field" if your system
  1195.             becomes infected. This is not necessary in OS/2,
  1196.             although it will be helpful to make backup
  1197.             copies of your OS/2 installation diskettes.
  1198.             
  1199.             DOS OR WINDOWS
  1200.             
  1201.             In DOS, start from the system prompt (C>). In
  1202.             Windows, you may open a DOS window, or duplicate
  1203.             these steps with the Windows File Manager.
  1204.             
  1205.             1. Insert a blank or dispensable diskette in
  1206.                drive A. Make sure the diskette contains no
  1207.                important information, as this procedure will
  1208.                overwrite it.
  1209.  
  1210.             2. Format it as a start-up diskette with the
  1211.                system files by typing:
  1212.  
  1213.                     C> format a: /s/v/u
  1214.             
  1215.                NOTE: If you are using a version of DOS before
  1216.                DOS 5.0, do not type the /U option. The  /U
  1217.                option in recent DOS versions ensures that
  1218.                the system portions of the diskette are
  1219.                overwritten.
  1220.  
  1221.                When prompted for a volume label, enter
  1222.                virusfree01 or another name of up to 11
  1223.                characters.
  1224.  
  1225.             3. Copy the Scan program to the diskette. Here's
  1226.                one way to do this, assuming that your VirusScan 
  1227.                files are stored in C:\MCAFEE\VIRUSCAN:
  1228.  
  1229.                     C> copy c:\mcafee\viruscan\scan.exe a:
  1230.                     C> copy c:\mcafee\viruscan\scan.dat a:
  1231.                     C> copy c:\mcafee\viruscan\clean.dat a:
  1232.                     C> copy c:\mcafee\viruscan\names.dat a:
  1233.  
  1234.             
  1235.             
  1236.             
  1237.             
  1238.             
  1239.             
  1240.             
  1241.             
  1242.  
  1243.            Using VirusScan (Version 2.1.1)                           22
  1244.             
  1245.             4. Copy useful DOS programs to the diskette.
  1246.                Here's one way to do this, assuming that your
  1247.                DOS files are stored in C:\DOS:
  1248.  
  1249.                     C> copy c:\dos\chkdsk.* a:
  1250.                     C> copy c:\dos\debug.* a:
  1251.                     C> copy c:\dos\diskcopy.* a:
  1252.                     C> copy c:\dos\fdisk.* a:
  1253.                     C> copy c:\dos\format.* a:
  1254.                     C> copy c:\dos\label.* a:
  1255.                     C> copy c:\dos\mem.* a:
  1256.                     C> copy c:\dos\sys.* a:
  1257.                     C> copy c:\dos\unerase.* a:
  1258.                     C> copy c:\dos\xcopy.* a:
  1259.  
  1260.                In the same way, copy other DOS programs that
  1261.                you think might be useful.
  1262.             
  1263.                NOTE: If you use a disk compression utility, be
  1264.                sure to copy the drivers required to access
  1265.                the compressed disks onto the clean start-up
  1266.                diskette.
  1267.  
  1268.             5. Remove the diskette from the drive and write-
  1269.                protect it so that it cannot become infected.
  1270.  
  1271.                o For a 3.5" diskette, slide its corner tab so
  1272.                  that the square hole is open.
  1273.  
  1274.                o For a 5.25" diskette, cover its corner notch
  1275.                  with a write-protect tab. Be sure to use the
  1276.                  write-protect stickers provided with your
  1277.                  diskettes, not tape.
  1278.  
  1279.             6. Label the diskette "Virus-Free start-up" and
  1280.                put it away in a secure place in case you
  1281.                need to reestablish a virus-free environment
  1282.                in the future. You may want to note the date
  1283.                and versions of DOS and VirusScan on the label.
  1284.             
  1285.             OS/2
  1286.             
  1287.             With OS/2, you don't need a virus-free start-up
  1288.             disk. However, it will be helpful to keep a
  1289.             clean copy of important files. Copy the
  1290.             VirusScan OS/2 program and data files and your
  1291.             CONFIG.SYS, STARTUP.CMD and AUTOEXEC.BAT files
  1292.             onto a clean start-up diskette. Write-protect
  1293.             the diskette, label it, and put it away in a
  1294.             secure place.
  1295.             
  1296.  
  1297.  
  1298.            Using VirusScan (Version 2.1.1)                           23
  1299.  
  1300.             RUNNING THE VIRUSSCAN PROGRAMS
  1301.            
  1302.             DOS
  1303.             
  1304.             To run the VirusScan programs from the DOS
  1305.             command prompt, type the program name (SCAN or
  1306.             VSHIELD) on the command line. Follow the program
  1307.             name with the drive (if applicable to the
  1308.             program) and whatever options you want.
  1309.             
  1310.             NOTE: If you have not changed the path statement
  1311.             in your AUTOEXEC.BAT file, you will need to
  1312.             include its location (usually
  1313.             C:\MCAFEE\VIRUSCAN) in the command, or change to
  1314.             that directory.
  1315.             
  1316.             For example, to examine a diskette in drive A:
  1317.             
  1318.                  C> c:\mcafee\viruscan\scan a:
  1319.             
  1320.             EXCEPTION: If Scan detects a virus in memory or
  1321.             on your hard disk, don't run Scan with the
  1322.             /CLEAN option from C:\MCAFEE\VIRUSCAN. Instead,
  1323.             restart your computer and run Scan from your
  1324.             clean start-up diskette as described in "If you
  1325.             detect a virus" earlier in this chapter.
  1326.             
  1327.             VirusScan can list the viruses it detects. To
  1328.             view this list, run Scan with the /VIRLIST
  1329.             option, as described in Chapter 3.
  1330.             
  1331.             WINDOWS
  1332.             
  1333.             The Windows installation procedure installs
  1334.             icons for Scan for Windows and VShield in the
  1335.             McAfee group. To use them, open the folder and
  1336.             double-click the program icon. See Chapter 3 for
  1337.             instructions on using Scan for Windows.
  1338.             
  1339.             NOTE: If a virus is active in memory, do not use
  1340.             interactive Scan to remove it, because Windows
  1341.             or other system files might be infected and you
  1342.             risk spreading the virus.
  1343.             
  1344.             If you've detected such a virus, restart your
  1345.             computer and run Scan from your clean start-up
  1346.             diskette, as described in "If you detect a
  1347.             virus" earlier in this chapter.
  1348.             
  1349.  
  1350.  
  1351.  
  1352.             
  1353.            Using VirusScan (Version 2.1.1)                           24
  1354.  
  1355.             VSHIELD AND WINDOWS
  1356.             
  1357.             You can add a line to your AUTOEXEC.BAT file that 
  1358.             automatically activates VShield whenever you start 
  1359.             or restart your computer. In Windows, it also gives 
  1360.             you a VShield icon that you can click to turn VShield
  1361.             messages on or off.
  1362.             
  1363.             NOTE: You can change VShield options from the
  1364.             DOS command line by removing VShield from memory
  1365.             and rerunning it, by editing the VSHIELD command
  1366.             in your AUTOEXEC.BAT file, or by editing the default 
  1367.             configuration file. See Chapter 4 for details.
  1368.             
  1369.             OS/2
  1370.             
  1371.             To run Scan from OS/2, open the Command Prompts
  1372.             folder in the OS/2 system folder and click the
  1373.             OS/2 Full Screen or OS/2 Window icon. Next, type
  1374.             the program name (os2scan) on the command line.
  1375.             Follow the program name with the drive,
  1376.             directory, or file(s) you want to scan and the
  1377.             options you want to use.
  1378.             
  1379.             NOTE: If you have not changed the PATH and
  1380.             LIBPATH statements in your CONFIG.SYS file, you
  1381.             will need to include its location (usually
  1382.             C:\MCAFEE\VIRUSCAN) on the command line, or
  1383.             change to that directory.
  1384.             
  1385.             For example, to examine a diskette in drive A:
  1386.             
  1387.                  [C:\] c:\mcafee\viruscan\os2scan a:
  1388.             
  1389.             NOTE: VShield does not run in OS/2 sessions,
  1390.             only under DOS and Win-OS/2 sessions inside of
  1391.             OS/2. You can place the VShield command in your 
  1392.             AUTOEXEC.BAT file, where it will run automatically 
  1393.             when you start a DOS or Win-OS/2 session. You can 
  1394.             also run it from the DOS command line, as described 
  1395.             earlier in this section.
  1396.             
  1397.             
  1398.             
  1399.             
  1400.             
  1401.             
  1402.             
  1403.             
  1404.             
  1405.             
  1406.             
  1407.             
  1408.            Using VirusScan (Version 2.1.1)                           25
  1409.             
  1410.             WHEN TO RESCAN
  1411.             
  1412.             Although VShield will monitor your software for
  1413.             viruses, it's wise to scan your disks when you
  1414.             introduce new programs, or disks that may be
  1415.             infected. New programs and files are generally
  1416.             introduced in two ways: by inserting a diskette
  1417.             and booting from it, and by installing new
  1418.             programs. It is also possible to download a
  1419.             virus inadvertently via a modem, but this is
  1420.             very rare.
  1421.             
  1422.             You can use VShield with the /ANYACCESS option
  1423.             to scan diskettes automatically. For more
  1424.             information, see "/ANYACCESS" in "VShield option
  1425.             descriptions" in Chapter 4.
  1426.             
  1427.             For instructions on running VirusScan, see
  1428.             "Running the VirusScan programs" earlier in this
  1429.             chapter.
  1430.             
  1431.             WHEN YOU INSERT AN UNCHECKED DISKETTE
  1432.             
  1433.             Every time you insert a new diskette in your
  1434.             drive, run Scan on it before executing,
  1435.             installing, or copying its files. If you have
  1436.             several diskettes to scan, you can scan them
  1437.             consecutively using the /MANY option described
  1438.             in Chapter 3. In fact, we recommend doing this
  1439.             now with all the diskettes you normally use, as
  1440.             well as diskettes received from friends,
  1441.             coworkers, salespeople, and even your own
  1442.             diskettes if they have been in another PC.
  1443.             
  1444.             WHEN YOU INSTALL OR DOWNLOAD NEW FILES
  1445.             
  1446.             Every time you install new software on your hard
  1447.             drive, or download executable files from a
  1448.             network server, bulletin board, or on-line
  1449.             service, run Scan on the directory in which the
  1450.             files were placed before you execute the files.
  1451.             
  1452.             UPDATING VIRUSSCAN REGULARLY
  1453.             
  1454.             Unfortunately, new viruses (and variants of old
  1455.             ones) appear and circulate often in the personal
  1456.             computer community. Fortunately, McAfee updates
  1457.             the VirusScan programs regularly--usually
  1458.             monthly, but sooner if many new viruses have
  1459.             appeared. Each new version may detect and
  1460.             eradicate as many as 60-100 new viruses or more,
  1461.             and may add new features. To find out what's
  1462.             new, review the README.1ST text file.
  1463.            Using VirusScan (Version 2.1.1)                           26
  1464.             
  1465.             DOWNLOAD NEW VERSIONS
  1466.             
  1467.             As a VirusScan licensee, you may download new
  1468.             versions without charge for one year from your
  1469.             date of purchase. Use your communications
  1470.             software to download new versions from the
  1471.             McAfee bulletin board, CompuServe, or the
  1472.             Internet. See Chapter 1 and Appendix A for more
  1473.             information.
  1474.             
  1475.             New versions of McAfee software are stored in
  1476.             compressed form to reduce transmission time.
  1477.             
  1478.             NOTE: Always download and decompress the files
  1479.             in a separate directory from your current files.
  1480.             That way, if you discover a problem with the new
  1481.             files, you'll still have the old ones.
  1482.             
  1483.             VALIDATE VIRUSSCAN
  1484.             
  1485.             When you download a program file from any source
  1486.             other than the McAfee bulletin board or other
  1487.             McAfee service, it's important to verify that it
  1488.             is authentic, unaltered, and uninfected. McAfee
  1489.             anti-virus software includes a program called
  1490.             Validate that helps you do this. When you
  1491.             receive a new version of VirusScan, run Validate
  1492.             on all of the program files.
  1493.             
  1494.             To do this for Scan, start from the system prompt 
  1495.             (C> or [C:\]):
  1496.  
  1497.             1. Navigate to the directory to which you've
  1498.                downloaded the files. For example, if you've
  1499.                stored the files in C:\MCAFEE\DOWNLD\VIRUSCAN:
  1500.  
  1501.                   C> c:
  1502.                   C> cd \mcafee\downld\viruscan
  1503.  
  1504.             2. Type the command:
  1505.  
  1506.                DOS or Windows
  1507.                   C> validate scan.exe
  1508.             
  1509.                OS/2
  1510.                   [C:\] os2val os2scan.exe
  1511.  
  1512.             3. Compare the results with the information in
  1513.                the PACKING.LST file or other text file for
  1514.                the program you validated. If the validation
  1515.                results match what's in the file, it is
  1516.                highly unlikely that the program has been
  1517.                modified.
  1518.            Using VirusScan (Version 2.1.1)                           27
  1519.             
  1520.             UPDATE YOUR CLEAN START-UP DISKETTE
  1521.             
  1522.             Once you have validated the new version, copy it
  1523.             into your C:\MCAFEE\VIRUSCAN directory. In
  1524.             addition, copy the Scan program onto your clean
  1525.             start-up diskette. Below is one way to do this;
  1526.             you may also use the Windows File Manager or the
  1527.             OS/2 environment.
  1528.             
  1529.             Note any changes you've made to default options,
  1530.             because you may want to select and save them
  1531.             again. Start from the system prompt (C> or
  1532.             [C:\]).
  1533.             
  1534.             1. Navigate to the directory to which you've retrieved
  1535.                the files, such as C:\MCAFEE\DOWNLD\VIRUSCAN:
  1536.             
  1537.                      C> c:
  1538.                      C> cd \mcafee\downld\viruscan
  1539.  
  1540.             2. Copy the contents of the directory to 
  1541.                C:\MCAFEE\VIRUSCAN:
  1542.  
  1543.                     C> copy *.* c:\mcafee\viruscan
  1544.  
  1545.             3. Temporarily remove write-protection from your
  1546.                clean start-up diskette and insert it in
  1547.                drive A.
  1548.  
  1549.                o For a 3.5" diskette, slide its corner tab so
  1550.                  that the square hole is closed.
  1551.  
  1552.                o For a 5.25" diskette, remove the tab from its
  1553.                  corner notch.
  1554.  
  1555.             4. Copy the Scan program to the diskette.
  1556.  
  1557.                DOS or Windows
  1558.                   C> copy SCAN.EXE a:
  1559.            
  1560.                OS/2
  1561.                   [C:\] copy OS2SCAN.EXE a:
  1562.             
  1563.             5. Remove the diskette from the drive and write-
  1564.                protect it again.
  1565.  
  1566.  
  1567.  
  1568.  
  1569.  
  1570.  
  1571.  
  1572.  
  1573.            Using VirusScan (Version 2.1.1)                           28
  1574.             
  1575.             CHAPTER 3: VIRUSSCAN REFERENCE
  1576.             
  1577.             VirusScan's Scan program detects, identifies,
  1578.             and disinfects known DOS computer viruses. Scan
  1579.             checks memory and both the system and data areas
  1580.             of disks for virus infections. If Scan finds a
  1581.             known virus, in most cases it will eliminate the
  1582.             virus and fully restore infected programs or
  1583.             system areas to normal operation.
  1584.             
  1585.             To obtain a list of all the viruses that Scan
  1586.             detects, run Scan with the /VIRLIST option.
  1587.             
  1588.             In addition, Scan can also assign validation and
  1589.             recovery codes to files, and use those codes to
  1590.             detect and treat infection by new and unknown
  1591.             viruses. If Scan has stored validation or
  1592.             recovery data for files, it may detect file
  1593.             changes and warn that infection by an unknown
  1594.             virus may have occurred. Scan can also use the
  1595.             recovery codes to remove new or unknown viruses
  1596.             and restore infected files, master boot records
  1597.             (MBRs), and boot sectors.
  1598.             
  1599.             Scan runs on DOS, Windows, and OS/2. The program
  1600.             files are SCAN.EXE (DOS), WSCAN.EXE (Windows),
  1601.             MSCAN.EXE (Menu DOS), and OS2SCAN.EXE (OS/2),
  1602.             respectively. This chapter describes them all.
  1603.             
  1604.             NOTE: Because OS/2 operates in a protected mode
  1605.             environment, Scan for OS/2 does not check
  1606.             memory. To protect against viruses in OS/2 DOS
  1607.             and Win-OS/2 sessions, use the VShield (for DOS)
  1608.             virus prevention program.
  1609.             
  1610.             DO YOU NEED TO READ THIS CHAPTER?
  1611.             
  1612.             Many users will not need the Scan command line
  1613.             options described in this chapter. We have
  1614.             designed Scan so that basic operation, as
  1615.             described in "Scanning your system" and "When to
  1616.             rescan" in Chapter 2, will detect most viruses
  1617.             in your system. The command line options
  1618.             described here offer additional power and
  1619.             control over virus detection. They enable you to
  1620.             run Scan from batch or script files, and are
  1621.             most useful in vulnerable environments and to
  1622.             network administrators and information services
  1623.             staff.
  1624.             
  1625.  
  1626.  
  1627.  
  1628.            Using VirusScan (Version 2.1.1)                           29
  1629.  
  1630.             SYSTEM REQUIREMENTS AND SUPPORT
  1631.            
  1632.             Scan requires DOS 3.1 or later, Windows 3.1 or
  1633.             later, or IBM OS/2 Version 2.1 or later. Running
  1634.             Scan for DOS with command line options requires
  1635.             360Kb of free RAM. Running MScan with the
  1636.             graphical interface requires 530Kb of free RAM.
  1637.             
  1638.             Scan works with 3Com 3/Share and 3/Open,
  1639.             Artisoft LanTastic, AT&T StarLAN, Banyan VINES,
  1640.             DEC Pathworks, IBM LAN Server, Microsoft LAN
  1641.             Manager, Novell NetWare, and any other IBMNET-
  1642.             or NETBIOS-compatible network operating systems.
  1643.             Contact McAfee or your local authorized agent if
  1644.             you do not see your network listed (see
  1645.             "Technical support" in Chapter 1).
  1646.             
  1647.             Scan is designed to check for pre-existing
  1648.             infections of known and unknown viruses on
  1649.             floppy, hard, CD-ROM, and compressed (SuperStor,
  1650.             Stacker, DoubleSpace, and so on) disks on both
  1651.             stand-alone and networked personal computers, as
  1652.             well as network file servers. If you have a
  1653.             Novell NetWare/386 V3.1X or 4.01 file server,
  1654.             you may want to use the NETShield(TM) virus
  1655.             prevention NetWare Loadable Module (NLM) in
  1656.             conjunction with Scan.
  1657.             
  1658.             NOTE: To use Scan to clean up (disinfect) virus-
  1659.             infected files, the CLEAN.DAT file must be
  1660.             present in the same subdirectory as Scan. If you
  1661.             don't have the CLEAN.DAT file, first verify
  1662.             whether you should contact your system
  1663.             administrator or information systems staff
  1664.             directly for virus clean-up. Otherwise, you can
  1665.             contact McAfee (see "Technical support" in
  1666.             Chapter 1).
  1667.             
  1668.             
  1669.             
  1670.             
  1671.             
  1672.             
  1673.             
  1674.             
  1675.             
  1676.             
  1677.             
  1678.             
  1679.             
  1680.             
  1681.             
  1682.  
  1683.            Using VirusScan (Version 2.1.1)                           30            
  1684.             
  1685.             TECHNICAL OVERVIEW
  1686.             
  1687.             KNOWN VIRUS DETECTION
  1688.             
  1689.             Scan detects known viruses by searching the
  1690.             system for known characteristics (sequences of
  1691.             code) unique to each computer virus and
  1692.             reporting their presence if found. For viruses
  1693.             that encrypt or cipher their code so that every
  1694.             infection is different, Scan uses detection
  1695.             algorithms that work by statistical analysis,
  1696.             heuristics, and code disassembly.
  1697.             
  1698.             NEW AND UNKNOWN VIRUS DETECTION
  1699.             
  1700.             Scan can also check for new or unknown viruses
  1701.             by comparing files against previously recorded
  1702.             validation data. If a file has been modified, it
  1703.             will no longer match the validation data, and
  1704.             Scan will report that the file may have become
  1705.             infected. With certain options, Scan /CLEAN can
  1706.             use the validation and recovery data to restore
  1707.             infected files, master boot records (MBRs), or
  1708.             boot sectors.
  1709.             
  1710.             NOTE TO NETWORK USERS
  1711.             
  1712.             To use Scan on a network drive (or directory),
  1713.             you must be connected to that drive and have
  1714.             read access to it. Some command line options
  1715.             described in this chapter attempt to create,
  1716.             change, and delete files. To use these options,
  1717.             you must have sufficient access rights. If you
  1718.             have questions about access rights, contact your
  1719.             network administrator.
  1720.             
  1721.             
  1722.             
  1723.             
  1724.             
  1725.             
  1726.             
  1727.             
  1728.             
  1729.             
  1730.             
  1731.             
  1732.             
  1733.             
  1734.             
  1735.             
  1736.             
  1737.             
  1738.            Using VirusScan (Version 2.1.1)                           31           
  1739.             
  1740.             VALIDATING SCAN
  1741.             
  1742.             The Scan program in your VirusScan package is
  1743.             supplied on a write-protected diskette that
  1744.             should be secure from infection. We recommend
  1745.             that you update your copy of the VirusScan
  1746.             programs regularly. You can obtain an upgrade
  1747.             from several sources, as described in "Updating
  1748.             VirusScan regularly" in Chapter 2.
  1749.             
  1750.             Before using a new version of Scan for the first
  1751.             time, verify that it has not been tampered with
  1752.             or infected by using the Validate program, as
  1753.             described in "Validate VirusScan" in Chapter 2.
  1754.             If your new copy of Scan differs from the
  1755.             validation data in the on-line documentation
  1756.             file, it may have been damaged. Don't use it,
  1757.             and obtain a clean copy of Scan from a known
  1758.             source.
  1759.             
  1760.             Scan performs an integrity test when run. This
  1761.             self-check allows Scan to determine if it has
  1762.             been modified. If Scan fails its integrity test,
  1763.             a warning message appears, and Scan refuses to
  1764.             run and returns to the command line prompt. You
  1765.             must obtain an undamaged copy before continuing.
  1766.             
  1767.             RUNNING SCAN FROM THE COMMAND LINE
  1768.             
  1769.             Scan checks files and other areas of the system
  1770.             that can contain computer viruses. When a virus
  1771.             is found, Scan identifies the virus and the
  1772.             system area or file where it was found.
  1773.             
  1774.             By default, Scan examines only executable files
  1775.             (.EXE, .COM, .SYS, .BIN, .OVL, and .DLL files).
  1776.             These are the files most likely to be infected
  1777.             with a virus. Once you've installed VirusScan
  1778.             and have established a "sterile field" (as
  1779.             described in Chapter 2), you might not need to
  1780.             scan every file on your system again. Use the
  1781.             /ALL option to scan all files on your system.
  1782.             See "Scan option descriptions" later in this
  1783.             chapter for more information about the /ALL option.
  1784.             
  1785.             NOTE: The list of extensions for standard
  1786.             executables has changed from previous versions
  1787.             of VirusScan.
  1788.             
  1789.             
  1790.             
  1791.             
  1792.             
  1793.            Using VirusScan (Version 2.1.1)                           32  
  1794.  
  1795.             From DOS or OS/2, you can run Scan from the
  1796.             system prompt. (From OS/2, open the Command
  1797.             Prompts folder in the OS/2 system folder, then
  1798.             click the OS/2 Full Screen or OS/2 Window icon
  1799.             to see the system prompt.) The syntax is:
  1800.             
  1801.             DOS
  1802.                  C> scan {drives} [options]
  1803.             
  1804.             OS/2
  1805.                  [C:\] os2scan {drives} [options]
  1806.             
  1807.             {drives} indicates one or more drives to be
  1808.             scanned. You must specify one or more drives to
  1809.             scan. If you list a drive like c:, all of its
  1810.             subdirectories will be scanned. If you list \,
  1811.             only the root directory and boot area of the
  1812.             current disk will be scanned. If you list \ or a
  1813.             directory, its subdirectories will not be
  1814.             scanned unless you use the /SUB option.
  1815.             
  1816.             [options] indicates one or more of the Scan
  1817.             options listed in the next section, "Scan
  1818.             command line option summary."
  1819.             
  1820.             
  1821.             
  1822.             
  1823.             
  1824.             
  1825.             
  1826.             
  1827.             
  1828.             
  1829.             
  1830.             
  1831.             
  1832.             
  1833.             
  1834.             
  1835.             
  1836.             
  1837.             
  1838.             
  1839.             
  1840.             
  1841.             
  1842.             
  1843.             
  1844.             
  1845.             
  1846.             
  1847.             
  1848.            Using VirusScan (Version 2.1.1)                           33            
  1849.             
  1850.             SCAN COMMAND LINE OPTION SUMMARY
  1851.             
  1852.             /? or /HELP
  1853.               Display help screen (not available in Windows, 
  1854.               use Help menu instead).
  1855.             
  1856.             /ADL
  1857.               Scan all local drives (except floppy drives).
  1858.             
  1859.             /ADN
  1860.               Scan all network drives.
  1861.             
  1862.             /AF {filename}
  1863.               Store validation/recovery codes in filename.
  1864.             
  1865.             /ALERT {servername}
  1866.               Alert the servername server about infected files.
  1867.             
  1868.             /ALL
  1869.               Scan all files, not just standard executables.
  1870.             
  1871.             /APPEND   
  1872.               Append to, rather than overwrite, the file (/REPORT).
  1873.             
  1874.             /AV
  1875.               Add validation/recovery data to program files.
  1876.             
  1877.             /BOOT
  1878.               Scan boot sector and master boot record only.
  1879.             
  1880.             /CF {filename}
  1881.               Check validation/recovery codes in filename.
  1882.             
  1883.             /CLEAN    
  1884.               Clean up infections in boot sector, master 
  1885.               boot record, and files when possible.
  1886.             
  1887.             /CV
  1888.               Check validation/recovery data in files.
  1889.             
  1890.             /DEL
  1891.               Overwrite and delete infected files.
  1892.             
  1893.             /EXCLUDE {filename}
  1894.               Exclude from scan any files listed in filename
  1895.               (with /AV).
  1896.             
  1897.             /FAST     
  1898.               Speed up VirusScan's scanning; may detect fewer viruses.
  1899.            
  1900.             /LISTEN {servername}     
  1901.               Load Scan and wait for a command from the 
  1902.               servername server.
  1903.            Using VirusScan (Version 2.1.1)                           34
  1904.             
  1905.             /LOAD {filename}    
  1906.               Use Scan settings stored in filename.
  1907.             
  1908.             /LOG
  1909.               Save date and time VirusScan was last run in SCAN.LOG.
  1910.             
  1911.             /MANY     
  1912.               Scan multiple diskettes.
  1913.             
  1914.             /MOVE {directory}   
  1915.               Move infected files to directory.
  1916.             
  1917.             /NOCOMP   
  1918.               Skip checking compressed executables created 
  1919.               with the LZEXE or PKLITE file compression programs.
  1920.             
  1921.             /NOMEM    
  1922.               Skip memory checking (not applicable to OS/2).
  1923.             
  1924.             /PAUSE    
  1925.               Enable screen pause.
  1926.             
  1927.             /PLAD     
  1928.               Preserve last access dates on Novell drives.
  1929.             
  1930.             /REPORT {filename}  
  1931.               Create report of infected files found during scan 
  1932.               in filename.
  1933.             
  1934.             /RF {filename}
  1935.               Remove validation/recovery codes in filename.
  1936.             
  1937.             /RPTCOR   
  1938.               Add list of corrupted files to the report file.
  1939.             
  1940.             /RPTERR   
  1941.               Add list of system errors to the report file.
  1942.             
  1943.             /RPTMOD   
  1944.               Add list of modified files to the report file.
  1945.             
  1946.             /RV  
  1947.               Remove validation/recovery data from files.
  1948.             
  1949.             /SHOWLOG  
  1950.               Display information in SCAN.LOG.
  1951.             
  1952.             /SUB 
  1953.               Scan subdirectories inside a directory.
  1954.  
  1955.             /VIRLIST  
  1956.               Display list of viruses detected by VirusScan.
  1957.             
  1958.            Using VirusScan (Version 2.1.1)                           35
  1959.             
  1960.             SCAN OPTION DESCRIPTIONS
  1961.             
  1962.             Here is a detailed description of Scan's options.
  1963.             
  1964.             /? or /HELP
  1965.             Display list of Scan options
  1966.             
  1967.             Does not scan. Instead, displays a list of Scan
  1968.             command line options with a brief description of
  1969.             each. No scanning is performed when these
  1970.             options are specified. Use either of these
  1971.             options alone on the command line.
  1972.             
  1973.             
  1974.             /ADL
  1975.             Scan all local drives (except floppy drives)
  1976.             
  1977.             Scans all local drives for viruses, in addition
  1978.             to those specified on the command line. In DOS,
  1979.             use /ADL to check all local drives, including
  1980.             compressed drives and CD-ROMs. To scan both
  1981.             local and network drives, use /ADL and /ADN
  1982.             together in the same command line.
  1983.             
  1984.             
  1985.             /ADN
  1986.             Scan all network drives
  1987.             
  1988.             Scans all network drives for viruses, in
  1989.             addition to those specified on the command line.
  1990.             To scan both local and network drives, use /ADL
  1991.             and /ADN together in the same command line.
  1992.             
  1993.             
  1994.             /AF {filename}
  1995.             Store validation/recovery codes in file
  1996.             
  1997.             Helps you detect and recover from new or unknown
  1998.             viruses. /AF logs validation and recovery data
  1999.             for executable files, boot sector, and master
  2000.             boot record (MBR) of a disk in the file you
  2001.             specify. The log file is about 95 bytes per file
  2002.             validated. You must specify a filename, which
  2003.             can include the target drive and directory (such
  2004.             as D:\VSVALID\VALCODES.VSC). If the target path
  2005.             is a network drive, you must have rights to
  2006.             create and delete files on that drive. If
  2007.             filename exists, Scan updates it. /AF adds about
  2008.             300% more time to scanning.
  2009.             
  2010.             
  2011.             
  2012.             
  2013.            Using VirusScan (Version 2.1.1)                           36            
  2014.  
  2015.             To exclude self-modifying or self-checking files
  2016.             that might cause false alarms, use the /EXCLUDE
  2017.             option. To recover from a virus using the /AF
  2018.             information, use the /CF and /CLEAN options
  2019.             together in the same command line. Using any of
  2020.             the /AF, /CF, or /RF options together in the
  2021.             same command line returns an error.
  2022.             
  2023.             NOTE: /AF performs the same function as /AV, but
  2024.             stores its data in a separate file rather than
  2025.             changing the executable files themselves. For
  2026.             more information, see "Detecting new and unknown
  2027.             viruses" in Chapter 5.
  2028.             
  2029.             
  2030.             /ALERT {servername}
  2031.             Alert the server about infected files (OS/2 only)
  2032.             
  2033.             Notifies the servername server if infected files
  2034.             are detected during the scan. Using /ALERT and
  2035.             /LISTEN in the same command line returns an
  2036.             error. See your Command & Control Server
  2037.             documentation for more information.
  2038.             
  2039.             
  2040.             /ALL
  2041.             Check all files, not just standard executable files.
  2042.             
  2043.             Increases system security by performing a more
  2044.             thorough scan. Otherwise, Scan checks only
  2045.             standard executable files (with .COM, .EXE,
  2046.             .SYS, .BIN, .OVL, and .DLL extensions), which
  2047.             are the files most likely to be infected by a
  2048.             virus. If /ALL is specified, Scan checks all
  2049.             files on the specified drive, which increases
  2050.             Scan's ability to detect viruses in overlay
  2051.             files but substantially increases the scanning
  2052.             time required. Use this option if you have found
  2053.             a virus or suspect one. (Note that the list of
  2054.             extensions for standard executables, above, has
  2055.             changed from previous releases of VirusScan.)
  2056.             
  2057.             
  2058.             /APPEND
  2059.             Append to the report file.
  2060.             
  2061.             Used in conjunction with /REPORT, appends the
  2062.             report message text to the specified report
  2063.             file, if it exists. Otherwise, the /REPORT
  2064.             option overwrites the specified report file, if
  2065.             it exists.
  2066.             
  2067.             
  2068.            Using VirusScan (Version 2.1.1)                           37            
  2069.  
  2070.             /AV
  2071.             Add validation/recovery data to files
  2072.             
  2073.             Helps you detect and recover from new or unknown
  2074.             viruses. /AV adds recovery and validation data
  2075.             to each standard executable file (.EXE, .COM,
  2076.             .SYS, .BIN, .OVL, and .DLL), increasing the size
  2077.             of each file by 98 bytes. To update files on a
  2078.             shared network drive, you must have update
  2079.             access rights. The /AV option adds about 100%
  2080.             more time to scanning.
  2081.             
  2082.             To exclude self-modifying or self-checking files
  2083.             that might cause false alarms, use the /EXCLUDE
  2084.             option. To recover from a virus using the /AF
  2085.             information, use the /CV and /CLEAN options
  2086.             together in the same command line. Using any of
  2087.             the /AV, /CV, or /RV options together in the
  2088.             same command line returns an error.
  2089.             
  2090.             NOTE: The /AV option does not store any
  2091.             information about the master boot record (MBR)
  2092.             or boot sector of the drive being scanned.
  2093.             
  2094.             
  2095.             /BOOT
  2096.             Scan boot sector and master boot record only
  2097.             
  2098.             Scans the boot sector and master boot record on
  2099.             the specified drive(s), but not files or
  2100.             directories on those drives.
  2101.             
  2102.             
  2103.             /CF {filename}
  2104.             Check validation/recovery codes in file
  2105.             
  2106.             Helps you detect new or unknown viruses. Checks
  2107.             validation data stored by the /AF option in
  2108.             filename. If a file or system area has changed,
  2109.             Scan reports that a viral infection may have
  2110.             occurred. The /CF option adds about 250% more
  2111.             time to scanning. For more information, see
  2112.             "Detecting new and unknown viruses" in Chapter
  2113.             5. You can use /CF and /CLEAN in the same
  2114.             command line to check validation/recovery codes
  2115.             and remove any viruses found. Using any of the
  2116.             /AF, /CF, or /RF options together in a command
  2117.             line returns an error.
  2118.             
  2119.             
  2120.             
  2121.             
  2122.  
  2123.            Using VirusScan (Version 2.1.1)                           38
  2124.             
  2125.             NOTE: Some older Hewlett-Packard and Zenith PCs
  2126.             modify the boot sector each time the system is
  2127.             booted. If you use /CF or /CV, Scan continuously
  2128.             reports that the boot sector has been modified
  2129.             even though no virus may be present. Check your
  2130.             system's reference manual to determine whether
  2131.             your PC has self-modifying boot code, or contact
  2132.             McAfee for help (see "Technical support" in
  2133.             Chapter 1)  1 OS/2 dual boot systems change the
  2134.             boot sector between DOS and OS/2 depending on
  2135.             which operating system is active. This causes
  2136.             Scan to report that the boot sector has been
  2137.             modified.
  2138.             
  2139.             
  2140.             /CLEAN
  2141.             Remove viruses from boot sector, master boot
  2142.             record, and infected files
  2143.             
  2144.             Attempts to restore the boot sector, if
  2145.             infected, and any infected files. Usually,
  2146.             between 10% and 20% of all viruses are not
  2147.             removable; they damage the file they infect
  2148.             beyond repair. If the infected file resides on a
  2149.             network drive, you must have rights to modify
  2150.             files on that drive to clean it. If it cannot
  2151.             restore a file, you'll see a message that
  2152.             identifies the name of the unrecoverable file.
  2153.             To use /CLEAN, the CLEAN.DAT file must reside in
  2154.             the Scan directory. For more information, see
  2155.             "Cleaning viruses" later in this chapter.
  2156.             
  2157.             Use /CLEAN instead of /DEL when you want to
  2158.             restore infected files, not just delete or
  2159.             overwrite them. The /CLEAN option can remove
  2160.             master boot record (MBR) and boot sector
  2161.             viruses, but the /DEL option cannot. If you use
  2162.             /CLEAN and /DEL in the same command line, Scan
  2163.             first attempts to disinfect an infected file,
  2164.             then deletes it only if it cannot be repaired.
  2165.             Similarly, if you use /CLEAN and /MOVE in the
  2166.             same command line, Scan first attempts to clean
  2167.             an infected file, then moves it to the specified
  2168.             subdirectory if the file is unrecoverable.
  2169.             
  2170.             You can use /CLEAN and /CF or /CV in the same
  2171.             command line to check validation/recovery codes
  2172.             and remove any viruses found. We strongly
  2173.             recommend that you get experienced help in
  2174.             dealing with viruses if you are unfamiliar with
  2175.             anti-virus software and methods. This is
  2176.             especially true for "critical" viruses and
  2177.             master boot record (MBR)/boot sector infections,
  2178.             because improper removal of these viruses can
  2179.             result in the loss of all data on the infected
  2180.             disks.
  2181.             
  2182.             NOTE: When scanning a network drive using
  2183.             /CLEAN, you must have sufficient rights to
  2184.             update files on that drive.
  2185.             
  2186.             
  2187.             
  2188.             
  2189.             
  2190.             
  2191.             
  2192.             
  2193.             
  2194.             
  2195.             
  2196.             
  2197.  
  2198.            Using VirusScan (Version 2.1.1)                           39            
  2199.             
  2200.             /CV
  2201.             Check validation/recovery data in files
  2202.             
  2203.             Helps you detect new or unknown viruses. Checks
  2204.             validation data added by the /AV option. If a
  2205.             file is modified, Scan reports that a viral
  2206.             infection may have occurred. The /CV option adds
  2207.             about 50% more time to scanning. You can use
  2208.             /CLEAN and /CF or /CV in the same command line
  2209.             to check validation/recovery codes and restore
  2210.             infected files. Using any of the /AV, /CV, or
  2211.             /RV options together in the same command line
  2212.             returns an error.
  2213.             
  2214.             For more information, see "Detecting new and
  2215.             unknown viruses" in Chapter 5. See also the note
  2216.             under /CF in this section.
  2217.             
  2218.             
  2219.             /DEL
  2220.             Overwrite and delete infected files
  2221.             
  2222.             Deletes and overwrites each infected file. Files
  2223.             erased by the /DEL option cannot be recovered
  2224.             (generate a report so that you can restore them
  2225.             from backups). Instead of /DEL alone, we
  2226.             recommend using it in combination with the
  2227.             /CLEAN option to attempt to disinfect an
  2228.             infected file first, then delete it only if the
  2229.             file is unrecoverable. The /CLEAN option can
  2230.             remove master boot record and boot sector
  2231.             viruses, but the /DEL option cannot.
  2232.             
  2233.            Using VirusScan (Version 2.1.1)                           40            
  2234.  
  2235.             NOTE: When scanning a network drive using /DEL,
  2236.             you must have sufficient access rights to delete
  2237.             files on that drive.
  2238.             
  2239.             
  2240.             /EXCLUDE {filename}
  2241.             Scan using exception list file
  2242.             
  2243.             Allows you to exclude files from /AF or /AV
  2244.             validation and /CF or /CV checking. Self-
  2245.             modifying or self-checking files can cause a
  2246.             false alarm during a scan. To create filename,
  2247.             see "Technical note 1: Creating an exception
  2248.             list file for the /EXCLUDE option" in this
  2249.             chapter.
  2250.             
  2251.             
  2252.             /FAST
  2253.             Speed up VirusScan's scanning
  2254.             
  2255.             Reduces Scan time by about 15%. Using the /FAST
  2256.             option, Scan examines a smaller portion of each
  2257.             file for viruses, although it examines more
  2258.             files overall. Using /FAST might miss some
  2259.             infections found in a more comprehensive (but
  2260.             slower) scan. Do not use this option if you have
  2261.             found a virus or suspect one.
  2262.             
  2263.             
  2264.             /LISTEN {servername}
  2265.             Load Scan and wait for a command from the server
  2266.             
  2267.             Using /LISTEN and /ALERT in the same command
  2268.             line returns an error. See your Command &
  2269.             Control Server documentation for more
  2270.             information.
  2271.             
  2272.             
  2273.             /LOAD {filename}
  2274.             Use Scan settings stored in {filename}.
  2275.             
  2276.             By default, Scan loads its internal default
  2277.             settings plus any options specified on the
  2278.             command line. You can store all custom settings
  2279.             in a separate ASCII text file, then use /LOAD to
  2280.             load those settings from that file.
  2281.             
  2282.             Use a text editor to create the file. You can
  2283.             put all options on the same command line or put
  2284.             each option (with its parameter) on its own
  2285.             line, separated by a hard carriage return and
  2286.             line feed, as shown in the following examples.
  2287.             
  2288.            Using VirusScan (Version 2.1.1)                           41            
  2289.             
  2290.             Sample load file with all options on the same
  2291.             command line:
  2292.             
  2293.                  m: /report a:infectn.rpt /rptcor /rpterr
  2294.             
  2295.             Sample load file with each option on a separate
  2296.             command line:
  2297.             
  2298.                  m:
  2299.                  /report a:infectn.rpt
  2300.                  /rptcor
  2301.                  /rpterr
  2302.             
  2303.             
  2304.             /LOG
  2305.             Save date and time of last scan
  2306.             
  2307.             Stores the time and date Scan is being run by
  2308.             updating or creating a file called SCAN.LOG in
  2309.             the current directory.
  2310.             
  2311.             
  2312.             /MANY
  2313.             Scan multiple floppies
  2314.             
  2315.             Scans multiple diskettes consecutively in a
  2316.             single drive. Scan will prompt you for each
  2317.             diskette. Once you have established a virus-free
  2318.             system, use this option to check multiple
  2319.             diskettes quickly.
  2320.             
  2321.             
  2322.             /MOVE {directory}
  2323.             Move infected files to directory
  2324.             
  2325.             Moves all infected files found during a scan to
  2326.             the specified directory. If you use /MOVE in
  2327.             conjunction with /CLEAN, Scan attempts to
  2328.             restore an infected file first, then moves it to
  2329.             the specified directory only if the file cannot
  2330.             be restored. Using /MOVE and /DEL in the same
  2331.             command line returns an error message.
  2332.             
  2333.             
  2334.             
  2335.             
  2336.             
  2337.             
  2338.             
  2339.             
  2340.             
  2341.             
  2342.             
  2343.            Using VirusScan (Version 2.1.1)                           42
  2344.             
  2345.             /NOCOMP
  2346.             Skip checking compressed executable files
  2347.             
  2348.             Reduces scanning time when a full scan is not
  2349.             needed. Otherwise, by default, Scan checks
  2350.             inside executable, or self-decompressing, files
  2351.             that have been created using the LZEXE or PKLITE
  2352.             file compression programs. Scan decompresses
  2353.             each file in memory and checks for virus
  2354.             signatures, which takes time but results in a
  2355.             more thorough scan. If you use /NOCOMP, Scan
  2356.             does not check inside compressed files for
  2357.             viruses, although it can check for modifications
  2358.             to those files if they have been validated using
  2359.             validation/recovery codes.
  2360.             
  2361.             
  2362.             /NOMEM
  2363.             Skip memory checking
  2364.             
  2365.             Reduces scan time by omitting all memory checks
  2366.             for viruses. Use /NOMEM only when you are
  2367.             absolutely certain that your system is virus-
  2368.             free.
  2369.             
  2370.             By default, Scan checks system memory for all
  2371.             for critical known computer viruses that can
  2372.             inhabit memory. In addition to main memory from
  2373.             0Kb to 640Kb, Scan checks system memory from
  2374.             640Kb to 1088Kb that can be used by computer
  2375.             viruses on 286 and later systems. Memory above
  2376.             1088Kb is not addressed directly by the
  2377.             processor and is not presently susceptible to
  2378.             viruses.
  2379.             
  2380.             NOTE: /NOMEM is not applicable to OS/2.
  2381.             
  2382.             
  2383.             /PAUSE
  2384.             Enable screen pause
  2385.             
  2386.             If you specify /PAUSE, the More? (H = Help)
  2387.             prompt appears when Scan fills up a screen with messages, 
  2388.             such as when using the /SHOWLOG or /VIRLIST options.
  2389.             Otherwise, by default, Scan fills and scrolls a
  2390.             screen continuously without stopping, which
  2391.             allows Scan to run on PCs with many drives or
  2392.             that have severe infections without requiring
  2393.             you to attend. We recommend that you omit /PAUSE
  2394.             when keeping a record of Scan's messages using
  2395.             the report options (/REPORT, /RPTCOR, /RPTMOD,
  2396.             and /RPTERR).
  2397.             
  2398.            Using VirusScan (Version 2.1.1)                           43            
  2399.             
  2400.             /PLAD
  2401.             Preserve last access dates (on NetWare drives
  2402.             only).
  2403.             
  2404.             Prevents changing the last access date attribute
  2405.             for files stored on a network drive in a Novell
  2406.             network. Normally, NetWare updates the last
  2407.             access date when Scan opens and examines a file.
  2408.             However, some tape backup systems use this last
  2409.             access date to decide whether to back up the
  2410.             file. Use /PLAD to ensure that the last access
  2411.             date does not change as the result of scanning.
  2412.             
  2413.             
  2414.             /REPORT {filename}
  2415.             Create report of infected files and system errors
  2416.             
  2417.             Saves the output of Scan to filename in ASCII
  2418.             text file format. If filename exists, /REPORT
  2419.             erases and replaces it. You can include the
  2420.             destination drive and directory (such as
  2421.             D:\VSREPRT\ALL.TXT), but if the destination is a
  2422.             network drive, you must have rights to create
  2423.             and delete files on that drive. You can also use
  2424.             /RPTCOR, /RPTMOD, and /RPTERR to add corrupted
  2425.             files, modified files, and system errors to the
  2426.             report.
  2427.             
  2428.             
  2429.             /RF {filename}
  2430.             Remove validation/recovery codes in file
  2431.             
  2432.             Removes recovery and validation data from
  2433.             filename created by the /AF option. If filename
  2434.             resides on a shared network drive, you must be
  2435.             able to delete files on that drive. Using any of
  2436.             the /AF, /CF, or /RF options together in the
  2437.             same command line returns an error.
  2438.             
  2439.             
  2440.             /RPTCOR
  2441.             Add corrupted files to Scan report
  2442.             
  2443.             Used in conjunction with /REPORT, adds the names
  2444.             of corrupted files to the report file. A
  2445.             corrupted file is a file that a virus has
  2446.             damaged beyond repair, which typically occurs in
  2447.             10% to 20% of all viral infections. You can use
  2448.             /RPTCOR with /RPTMOD and /RPTERR on the same
  2449.             command line.
  2450.             
  2451.             
  2452.             
  2453.            Using VirusScan (Version 2.1.1)                           44            
  2454.             
  2455.             /RPTERR
  2456.             Add errors to Scan report
  2457.             
  2458.             Used in conjunction with /REPORT, adds system
  2459.             errors to the report file.
  2460.             
  2461.             System errors include problems reading or
  2462.             writing to a diskette or hard disk, file system
  2463.             or network problems, problems creating reports,
  2464.             and other system-related problems. You can use
  2465.             /RPTERR with /RPTCOR and /RPTMOD on the same
  2466.             command line.
  2467.             
  2468.             
  2469.             /RPTMOD
  2470.             Add modified files to the Scan report
  2471.             
  2472.             Used in conjunction with /REPORT, adds the names
  2473.             of modified files to the report file. Scan
  2474.             identifies modified files when the
  2475.             validation/recovery codes do not match (using
  2476.             the /CF or /CV options). You can use /RPTMOD
  2477.             with /RPTCOR and /RPTERR on the same command
  2478.             line.
  2479.             
  2480.             
  2481.             /RV
  2482.             Remove validation/recovery from files
  2483.             
  2484.             Removes validation and recovery data from files
  2485.             validated with the /AV option, along with the
  2486.             SCAN.LOG file on the specified drive. To update
  2487.             files on a shared network drive, you must have
  2488.             access rights to update them. Using any of the
  2489.             /AV, /CV, or /RV options together in the same
  2490.             command line returns an error.
  2491.             
  2492.             
  2493.             /SHOWLOG
  2494.             Update and display the contents of SCAN.LOG
  2495.             
  2496.             Stores the time and date Scan is being run by
  2497.             updating or creating a file called SCAN.LOG in
  2498.             the current directory, and shows you the date
  2499.             and time of previous scans that have been
  2500.             recorded in the SCAN.LOG file using the /LOG
  2501.             switch. The SCAN.LOG file contains text and some
  2502.             special formatting.  To pause when the screen
  2503.             fills with messages, specify the /PAUSE option.
  2504.             
  2505.             
  2506.             
  2507.             
  2508.            Using VirusScan (Version 2.1.1)                           45
  2509.  
  2510.             /SUB
  2511.             Scan subdirectories
  2512.             
  2513.             By default, when you specify a directory to scan
  2514.             rather than a drive, Scan will examine only the
  2515.             files it contains, not its subdirectories. Use
  2516.             /SUB to scan all subdirectories inside any
  2517.             directories you've specified. Do not use /SUB if
  2518.             you are scanning an entire drive.
  2519.             
  2520.             
  2521.             /VIRLIST
  2522.             Display the contents of SCAN.DAT
  2523.             
  2524.             Shows you the name and a brief description of
  2525.             the viruses that VirusScan detects. To pause
  2526.             when the screen fills with messages, specify the
  2527.             /PAUSE option. Use /VIRLIST alone or with /PAUSE
  2528.             on the command line.
  2529.             
  2530.             You can save the list of virus names and
  2531.             descriptions to a file by redirecting the output
  2532.             of the command. For example, in DOS:
  2533.             
  2534.                  scan /virlist > filename.txt
  2535.             
  2536.             CLEANING VIRUSES
  2537.             
  2538.             Although /CLEAN removes many viruses and
  2539.             restores normal operation, viruses can be
  2540.             harmful and insidious, and no anti-virus program
  2541.             can undo all their damage. Usually, between 10%
  2542.             and 20% of all viruses corrupt the files they
  2543.             infect, making them unrecoverable. If the file
  2544.             is infected with an uncommon virus that /CLEAN
  2545.             can't remove, Scan notifies you and identifies
  2546.             the filename. Note this filename so that you
  2547.             know what to restore from a backup diskette or
  2548.             tape. If you use both the /CLEAN and the /DEL
  2549.             options, Scan will first attempt to repair an
  2550.             infected file and, if the file is damaged beyond
  2551.             repair, Scan will delete it. Deleted files are
  2552.             not recoverable except from backups.
  2553.             
  2554.             Some viruses damage or overwrite program (.EXE)
  2555.             files or overlay files. Removing the virus can
  2556.             truncate the file or otherwise render it
  2557.             inoperable. Others, like the common virus
  2558.             Stoned, infect the master boot record (MBR). On
  2559.             systems partitioned with programs other than DOS
  2560.             (such as Disk Manager and SpeedStor), removing
  2561.             the virus can cause loss of the master boot record 
  2562.             (MBR) and all data on the disk, if done improperly.
  2563.            Using VirusScan (Version 2.1.1)                           46
  2564.  
  2565.             BASIC PRINCIPLES TO MINIMIZE DAMAGE
  2566.             
  2567.             These considerations lead to the three important
  2568.             principles:
  2569.             
  2570.             NOTE: Before running Scan with the /CLEAN
  2571.             option, back up all of your programs and data.
  2572.             
  2573.             Of course, this works best if you back up your
  2574.             files regularly, so that you can restore your
  2575.             files from a backup made before your system was
  2576.             infected. But even a backup from an infected
  2577.             system can be useful for restoring data, because
  2578.             most viruses do not corrupt data. If a program
  2579.             no longer runs after being cleaned, replace it
  2580.             from the original disk or from a virus-free
  2581.             backup.
  2582.             
  2583.             1. When disinfecting an infected system, it is
  2584.                important to start from a "sterile field," as
  2585.                described in Chapter 2.
  2586.  
  2587.             2. Before running Scan with the /CLEAN option for
  2588.                DOS, restart your computer from a clean,
  2589.                write-protected diskette; before running it
  2590.                for OS/2, close all DOS and Win-OS/2
  2591.                sessions.
  2592.  
  2593.                Preferably, use the clean anti-virus start-up
  2594.                diskette you created in "Making a clean start-
  2595.                up diskette" in Chapter 2. And, because
  2596.                running any program can spread the infection:
  2597.  
  2598.             3. Do not run any programs, including Windows,
  2599.                before running Scan /CLEAN.
  2600.             
  2601.             Run Scan /CLEAN from DOS instead of Windows.
  2602.             Exit completely from Windows. Do not run Scan
  2603.             /CLEAN from within a DOS window.
  2604.             
  2605.             IMPORTANT: If you are at all unsure about how to
  2606.             proceed once you've found a virus, contact
  2607.             McAfee technical support, or your local
  2608.             authorized agent, for assistance (see "Technical
  2609.             support" in Chapter 1).
  2610.             
  2611.             We strongly recommend that you get experienced
  2612.             help in dealing with viruses if you are unfamiliar 
  2613.             with anti-virus software and methods. This is especially 
  2614.             true for "critical" viruses and master boot record (MBR)
  2615.             /boot sector infections, because improper removal of 
  2616.             these viruses can result in the loss of all data and
  2617.             use of the infected disks.
  2618.            Using VirusScan (Version 2.1.1)                           47
  2619.             
  2620.             RUNNING SCAN TO CLEAN UP INFECTIONS
  2621.             
  2622.             PREPARATION
  2623.             
  2624.             Before running Scan to clean up infections:
  2625.  
  2626.             1. Clear the virus from system memory and prevent
  2627.                reinfection:
  2628.  
  2629.                o With DOS or Windows, turn off your PC, then
  2630.                  restart from a clean start-up diskette,
  2631.                  preferably the anti-virus diskette you
  2632.                  prepared in "Making a clean start-up
  2633.                  diskette" in Chapter 2.
  2634.  
  2635.                o With OS/2, close all DOS and Win-OS/2 sessions.
  2636.  
  2637.                o With an OS/2 dual-boot system infected by a
  2638.                  boot sector virus (like Form, or others
  2639.                  identified by Scan), boot (start up) OS/2
  2640.                  first, delete the BOOT.DOS file from the \OS2
  2641.                  directory, and then boot DOS to create a new,
  2642.                  virus-free DOS boot sector file.
  2643.  
  2644.             2. Run the Scan program to locate and identify
  2645.                the infections.
  2646.  
  2647.             3. Back up the files on the infected disks (be
  2648.                sure not to overwrite any previous backups).
  2649.  
  2650.             4. Repeat Step 1.
  2651.  
  2652.             5. Run the Scan program with the /CLEAN option to
  2653.                remove infections.
  2654.  
  2655.             NOTE: Don't run any programs, including Windows,
  2656.             before running Scan /CLEAN.
  2657.             
  2658.             If you have Windows, run Scan /CLEAN from DOS.
  2659.             
  2660.             NOTE: When disinfecting a hard disk, always run
  2661.             Scan /CLEAN from a write-protected diskette to
  2662.             prevent infection of the Scan program. When
  2663.             disinfecting diskettes, make sure there is no
  2664.             active virus in memory before running Scan from
  2665.             your hard disk.
  2666.             
  2667.             SUCCESSFUL AND UNSUCCESSFUL RESULTS
  2668.             
  2669.             Scan /CLEAN reports the results of its attempt
  2670.             to remove the virus from each infected file. If
  2671.             a file has several infections, it will report on
  2672.             each.
  2673.            Using VirusScan (Version 2.1.1)                           48            
  2674.             
  2675.             IF VIRUSES WERE NOT REMOVED, CONTACT TECHNICAL SUPPORT
  2676.             
  2677.             If Scan can't remove a virus, you'll see a
  2678.             message like:
  2679.             
  2680.                  Virus cannot be safely removed from this file.
  2681.             
  2682.             Make sure to take note of the file name, because
  2683.             you will need to restore it from backups. If you
  2684.             have any questions about how to proceed, contact
  2685.             McAfee technical support or your local
  2686.             authorized agent (see "Technical support" in
  2687.             Chapter 1).
  2688.             
  2689.             IF VIRUSES WERE SAFELY REMOVED, RESCAN AND CHECK
  2690.             DISKETTES
  2691.             
  2692.             If Scan /CLEAN has successfully removed all the
  2693.             viruses, turn your computer off again and
  2694.             restart from the system disk. Scan your hard
  2695.             disks again to make sure they are virus-free. If
  2696.             you suspect that your system was infected from a
  2697.             diskette, run Scan from your hard disk to
  2698.             examine and disinfect the diskettes you use.
  2699.             
  2700.  
  2701.  
  2702.  
  2703.  
  2704.  
  2705.  
  2706.  
  2707.  
  2708.  
  2709.  
  2710.  
  2711.  
  2712.  
  2713.  
  2714.  
  2715.  
  2716.  
  2717.  
  2718.  
  2719.  
  2720.  
  2721.  
  2722.  
  2723.  
  2724.  
  2725.  
  2726.  
  2727.  
  2728.            Using VirusScan (Version 2.1.1)                           49            
  2729.             
  2730.             EXAMPLES
  2731.             
  2732.             These examples show different option settings.
  2733.             In OS/2, remember to use OS2SCAN instead of SCAN.
  2734.             
  2735.                  scan c:
  2736.             
  2737.             Scan all executable files on drive C.
  2738.             
  2739.                  scan f:
  2740.             
  2741.             Scan all standard executable files on drive F, a
  2742.             network drive.
  2743.             
  2744.                  scan c: /adl /adn
  2745.             
  2746.             Scan all local and network drives (except floppy drives).
  2747.             
  2748.                  scan f: g: h: /del /all
  2749.             
  2750.             Scan all files on drives F, G, and H, and delete
  2751.             any infected files found.
  2752.             
  2753.                  scan c: d: e: /av /all
  2754.             
  2755.             Scan for viruses in all files and add validation
  2756.             codes to executable files on drives C, D, and E.
  2757.             
  2758.                  scan m: /report a:infectn.rpt /rptcor /rpterr /append
  2759.             
  2760.             Scan for viruses on network drive M: and create
  2761.             a log file of infections, corruptions, and
  2762.             errors in the file INFECTN.RPT on drive A. This
  2763.             will overwrite A:INFECTN.RPT, if it exists.
  2764.             
  2765.                  scan e:\user\jake e:\user\daisy e:\user\nick /sub
  2766.             
  2767.             Scan all subdirectories inside the directories
  2768.             USER\JAKE, USER\DAISY, and USER\NICK on drive E.
  2769.             
  2770.                  scan c: d: e: /fast /cv
  2771.             
  2772.             Quickly scan drives C, D, and E, and report any
  2773.             executable files that have associated validation
  2774.             codes and have been modified.
  2775.             
  2776.                  scan c:\command.com
  2777.             
  2778.             Scan a single file.
  2779.             
  2780.                  scan c: d: /clean
  2781.             
  2782.             Scan drives C and D and remove infections.
  2783.            Using VirusScan (Version 2.1.1)                           50            
  2784.  
  2785.             ERROR LEVELS
  2786.             
  2787.             After Scan has finished running, it sets the
  2788.             ERRORLEVEL. You can use the ERRORLEVEL in batch
  2789.             files to take different actions based on the
  2790.             results of the scan. See your DOS operating
  2791.             system documentation for more information. Scan
  2792.             returns the following ERRORLEVELs:
  2793.             
  2794.             ERRORLEVEL  Description
  2795.             
  2796.              0   No errors occurred and no viruses were found.
  2797.             
  2798.              1   Error occurred while accessing a file (reading
  2799.                  or writing).
  2800.             
  2801.              2   A VirusScan database (*.DAT) file is
  2802.                  corrupted.
  2803.             
  2804.              3   An error occurred while accessing a disk
  2805.                  (reading or writing).
  2806.             
  2807.              4   An error occurred while accessing the file created 
  2808.                  with the /AF option; the file has been damaged.
  2809.             
  2810.              5   Insufficient memory to load program or complete 
  2811.                  operation.
  2812.             
  2813.              6   An internal program error occurred.
  2814.               
  2815.              7   An error in accessing an international message
  2816.                  file (MCAFEE.MSG).
  2817.             
  2818.              8   A file required to run VirusScan, such as SCAN.DAT, 
  2819.                  is missing.
  2820.             
  2821.              9   Incompatible or unrecognized option(s) or option 
  2822.                  argument(s) were specified in the command line.
  2823.             
  2824.             10   A virus was found in memory.
  2825.              
  2826.             11   An internal program error occurred.
  2827.             
  2828.             12   An error occurred while attempting to remove
  2829.                  a virus, such as no CLEAN.DAT file found, or
  2830.                  VirusScan was unable to remove the virus.
  2831.             
  2832.             13   One or more viruses was found in the master
  2833.                  boot record, boot sector, or file(s).
  2834.             
  2835.             14   The SCAN.DAT file is out of date; upgrade
  2836.                  VirusScan data files.
  2837.             
  2838.            Using VirusScan (Version 2.1.1)                           51            
  2839.             15   VirusScan self-check failed. It may be
  2840.                  infected or damaged.
  2841.             
  2842.             16   An error occurred while accessing a specified
  2843.                  drive or file.
  2844.             
  2845.             17   No drive, directory or file was specified;
  2846.                  nothing to scan.
  2847.             
  2848.             18   A validated file has been modified (/CF or
  2849.                  /CV options).
  2850.             
  2851.             19-99 Reserved.
  2852.             
  2853.             100+ Operating system error; Scan adds 100 to
  2854.                  the original error number.
  2855.             
  2856.             
  2857.             
  2858.             
  2859.             
  2860.             
  2861.             
  2862.             
  2863.             
  2864.             
  2865.             
  2866.             
  2867.             
  2868.             
  2869.             
  2870.             
  2871.             
  2872.             
  2873.             
  2874.             
  2875.             
  2876.             
  2877.             
  2878.             
  2879.             
  2880.             
  2881.             
  2882.             
  2883.             
  2884.             
  2885.             
  2886.             
  2887.             
  2888.             
  2889.             
  2890.             
  2891.             
  2892.  
  2893.            Using VirusScan (Version 2.1.1)                           52            
  2894.             
  2895.             APPLICATION NOTE 1  UPDATING VALIDATION CODES
  2896.             
  2897.             If you install any new software or programs on
  2898.             your system, including a new version of DOS, and
  2899.             are running Scan or VShield with the /CF
  2900.             (preferred) or /CV validation options, you need
  2901.             to install validation codes for the new files
  2902.             with Scan's /AF (preferred) or /AV options.
  2903.             
  2904.             The quickest way to update the validation codes
  2905.             is to remove all validation codes from the hard
  2906.             disk and then add them back. In other words,
  2907.             first run Scan with the /RF or /RV option, then
  2908.             run it again with the /AF or /AV option.
  2909.             
  2910.             APPLICATION NOTE 2  REFORMATTING INFECTED
  2911.             DISKETTES WITH DOS 5.0 AND LATER
  2912.             
  2913.             When reformatting infected diskettes using DOS
  2914.             5.0 and later versions, be sure to add the /U
  2915.             switch to the FORMAT command. This tells DOS to
  2916.             do an unconditional format of the diskette,
  2917.             without saving the original infected boot
  2918.             sector. This is necessary to erase certain
  2919.             infections, and will prevent reinfection by
  2920.             unformatting the diskette.
  2921.             
  2922.             
  2923.             
  2924.             
  2925.             
  2926.             
  2927.  
  2928.  
  2929.  
  2930.  
  2931.  
  2932.  
  2933.  
  2934.  
  2935.  
  2936.  
  2937.  
  2938.  
  2939.  
  2940.  
  2941.  
  2942.  
  2943.  
  2944.  
  2945.  
  2946.  
  2947.  
  2948.            Using VirusScan (Version 2.1.1)                           53            
  2949.             
  2950.             TECHNICAL NOTE 1  CREATING AN EXCEPTION LIST
  2951.             FILE FOR THE /EXCLUDE OPTION
  2952.             
  2953.             If you set up validation codes using Scan's /AF
  2954.             or /AV options, subsequent scans using the /CF
  2955.             or /CV options will detect changes in executable
  2956.             files.
  2957.             
  2958.             This can generate false alarms if the executable
  2959.             files are self-modifying or self-checking (most
  2960.             programs that do this will tell you to turn off
  2961.             your anti-virus software before running them;
  2962.             some of these files are listed below).
  2963.             Therefore, use the /EXCLUDE option in
  2964.             conjunction with /AF or /AV to identify such
  2965.             files and exclude them from the validation.
  2966.             
  2967.             The exception list is an ASCII or DOS text file.
  2968.             If you use a word processor to create it, be
  2969.             sure to save the file as ASCII or DOS Text. Each
  2970.             line in the file contains the path and file name
  2971.             of one file that should not be validated. Here
  2972.             is an example:
  2973.             
  2974.                  c:\clipper\bin\clipper.exe
  2975.                  c:\123\123.com
  2976.                  c:\fox\foxprolx.exe
  2977.                  c:\dos\setver.exe
  2978.                  c:\pkware\pklite.exe
  2979.                  c:\pkware\pkzip.exe
  2980.                  c:\pkware\pkunzip.exe
  2981.                  c:\semware\q.exe
  2982.                  c:\swapvol.com
  2983.                  c:\wordstar\ws.exe
  2984.             
  2985.  
  2986.  
  2987.  
  2988.  
  2989.  
  2990.  
  2991.  
  2992.  
  2993.  
  2994.  
  2995.  
  2996.  
  2997.  
  2998.  
  2999.  
  3000.  
  3001.  
  3002.  
  3003.            Using VirusScan (Version 2.1.1)                           54
  3004.             
  3005.             CHAPTER 4: VSHIELD REFERENCE
  3006.  
  3007.             VirusScan's VShield(TM) is a memory-resident
  3008.             program that helps to prevent virus infection.
  3009.             It complements the Scan virus detection program
  3010.             as part of your computer security plan. While
  3011.             Scan lets you check areas on disks for viruses,
  3012.             the VShield program checks these areas
  3013.             automatically as they load into your computer's
  3014.             memory. This ensures that you don't "catch" any
  3015.             new viruses while you're working on your computer.
  3016.             
  3017.             VShield does this by remaining in memory and:
  3018.             
  3019.             o Checking master boot records (MBRs), boot
  3020.               sectors, system files, and itself for viruses
  3021.               when you turn on or reset
  3022.               ([Ctrl]+[Alt]+[Del]) your machine.
  3023.             
  3024.             o Checking program files for viruses as your
  3025.               computer executes them.
  3026.             
  3027.             o Checking files for viruses as you copy them
  3028.               (optional).
  3029.             
  3030.             o Checking for viruses whenever your computer
  3031.               accesses a disk (optional).
  3032.  
  3033.             Follow the instructions in Chapter 2 to install
  3034.             VShield. You can modify your AUTOEXEC.BAT file so 
  3035.             that VShield loads into memory every time you turn 
  3036.             on your computer.
  3037.             
  3038.             If VShield finds a virus, you will hear three
  3039.             beeps and see a message like:
  3040.             
  3041.                  Found the Jerusalem Virus in memory
  3042.             
  3043.             If that happens, don't panic. Turn to Chapter 3
  3044.             to find out how to use the Scan program to get
  3045.             rid of the virus. If you need additional help,
  3046.             contact McAfee (see "Technical support" in
  3047.             Chapter 1).
  3048.             
  3049.             NOTE: There is one way to infect your computer
  3050.             that VShield cannot prevent--only you can. Never
  3051.             accidentally start your computer from an unknown
  3052.             diskette. That's how 80% of all viruses are
  3053.             passed! VShield checks diskettes if you warm
  3054.             boot, but cannot check them when you cold boot.
  3055.             Always make sure your diskette drives are empty
  3056.             before you turn your computer on.
  3057.             
  3058.            Using VirusScan (Version 2.1.1)                           55
  3059.             
  3060.             VShield runs under DOS, Windows, and OS/2
  3061.             Virtual DOS Machine and WIN-OS/2 sessions. The
  3062.             program file is VSHIELD.EXE. The file called
  3063.             VSHLDWIN.EXE allows VShield to display messages
  3064.             from within Windows, and is added to your
  3065.             WIN.INI file automatically when you install
  3066.             VShield. If you need to conserve memory on your
  3067.             system, you can use VShieldCRC, a version of
  3068.             VShield that offers fewer protection options but
  3069.             requires less memory. The program file is 
  3070.             VSHLDCRC.EXE.
  3071.             
  3072.             A companion program called CheckVShield checks
  3073.             whether either VShield or VShieldCRC is loaded
  3074.             in memory. The program file is CHKVSHLD.EXE.
  3075.             CheckVShield is especially useful for network
  3076.             administrators who want to ensure that everyone
  3077.             who logs on to the network is running VShield.
  3078.             All of these related programs are included in
  3079.             your VirusScan disk and described in this chapter.
  3080.             
  3081.             DO YOU NEED TO READ THIS CHAPTER?
  3082.             
  3083.             Many users will not need the VShield options
  3084.             described in this chapter. We have designed
  3085.             VShield so that basic operation--achieved by
  3086.             simply installing it in memory as described in
  3087.             Chapter 2--provides a high degree of protection
  3088.             for most users. The options here offer
  3089.             additional power and control for virus
  3090.             detection, and are most useful in vulnerable or
  3091.             memory-scarce environments and to network
  3092.             administrators and information systems staff.
  3093.             See "Four levels of protection" and the table
  3094.             "Deciding which options are for you" later in
  3095.             this chapter for help in deciding how to use VShield.
  3096.             
  3097.             SYSTEM REQUIREMENTS AND PERFORMANCE
  3098.             
  3099.             VShield is a terminate-and-stay-resident (TSR)
  3100.             program, which remains in memory while you run
  3101.             other programs. VShield tries to optimize memory
  3102.             usage and minimize conflicts with other TSRs. By
  3103.             default, VShield tries to conserve as much
  3104.             conventional memory as possible.
  3105.             
  3106.             If you have only 640Kb or less memory in your
  3107.             system, VShield requires about 67Kb of memory.
  3108.             By using the /SWAP option, you can reduce this
  3109.             to only 7Kb of conventional memory, although
  3110.             this will decrease VShield's speed.
  3111.             
  3112.             
  3113.            Using VirusScan (Version 2.1.1)                           56            
  3114.  
  3115.             If you have more than 640Kb, VShield tries to
  3116.             load as much of itself as possible above
  3117.             conventional memory: first into expanded memory
  3118.             (EMS), into extended memory (XMS), then into
  3119.             upper memory blocks (640Kb to 1024Kb, or UMB).
  3120.             If you have sufficient high memory available, 
  3121.             VShield or VShieldCRC use no conventional memory.
  3122.             
  3123.             After VShield loads, you'll see a message that
  3124.             describes where VShield loaded into memory and
  3125.             how much memory it uses. You can control how
  3126.             VShield loads by using the /NOUMB, /NOEMS, and
  3127.             /NOXMS options, as described later in this chapter.
  3128.             
  3129.             NOTE: VShield might require slightly more memory
  3130.             as the SCAN.DAT file grows to include more viruses.
  3131.             
  3132.             VShield adds a small amount of time to program
  3133.             loads and reboots. Performance will vary,
  3134.             depending on your system. The /SWAP option adds
  3135.             more time, because VShield must reload from disk
  3136.             to check files. VShieldCRC adds an average of
  3137.             one second to each program load.
  3138.             
  3139.             Once programs have been loaded, VShield does not
  3140.             degrade the performance of your system. Programs
  3141.             that load other files may run more slowly when
  3142.             you use the /FILEACCESS or /ANYACCESS options,
  3143.             because these options cause VShield to scan
  3144.             files whenever they are accessed, not just when
  3145.             they are executed.
  3146.             
  3147.  
  3148.  
  3149.  
  3150.  
  3151.  
  3152.  
  3153.  
  3154.  
  3155.  
  3156.  
  3157.  
  3158.  
  3159.  
  3160.  
  3161.  
  3162.  
  3163.  
  3164.  
  3165.  
  3166.  
  3167.  
  3168.            Using VirusScan (Version 2.1.1)                           57            
  3169.             FOUR LEVELS OF PROTECTION
  3170.             
  3171.             You can think of VShield as providing four
  3172.             levels of protection. You can use VShield's
  3173.             options to customize it for the level of
  3174.             protection you need. Level II meets the
  3175.             protection needs of most systems.
  3176.             
  3177.             Level I protection is appropriate for users who
  3178.             have very little memory available on their
  3179.             systems. It provides only minimal protection.
  3180.             
  3181.             For Level I protection, first use Scan with the
  3182.             /AF or /AV option to add validation codes. Then,
  3183.             install VShieldCRC instead of VShield.
  3184.             VShieldCRC can inform you that a file has not
  3185.             been certified, a file has been modified, a file
  3186.             size has changed, or a file has not been added
  3187.             to the validation file. VShieldCRC will not
  3188.             prevent infection, nor will it tell you when you
  3189.             have a known virus. Use Scan instead to detect
  3190.             viruses, as described in Chapter 3. See "Using
  3191.             VShieldCRC" later in this chapter for
  3192.             instructions.
  3193.             
  3194.             Level II protection is appropriate for most
  3195.             users. It will protect you from most viruses
  3196.             whether you have run Scan or not.
  3197.             
  3198.             For Level II protection, install VShield
  3199.             according to "Running VShield" later in this
  3200.             chapter. When loading, VShield checks memory
  3201.             automatically for viruses. Once resident in
  3202.             memory, VShield checks master boot records
  3203.             (MBRs), boot sectors, and program files (when
  3204.             executed) for virus signatures.
  3205.             
  3206.             Level III protection is appropriate for
  3207.             computers that are used by many people, as in an
  3208.             open-use computer lab, or onto which you
  3209.             frequently load files from public sources. Level
  3210.             III protection checks for both validation codes
  3211.             and virus signatures, incorporating both Level I
  3212.             and Level II protection.
  3213.             
  3214.             For Level III protection, first use Scan with
  3215.             the /AF {filename} option, then use VShield with
  3216.             the /CF {filename} option. The /AF option logs
  3217.             recovery and validation data for program files,
  3218.             the boot sector, and the master boot record
  3219.             (MBR) to a file you specify. The /CF option
  3220.             tells VShield to check against that log. See
  3221.             "VirusScan reference" in Chapter 3 for
  3222.             instructions.
  3223.            Using VirusScan (Version 2.1.1)                           58            
  3224.             
  3225.             Level IV protection is for environments where
  3226.             security is extremely important and new software
  3227.             is seldom introduced. It combines Level III
  3228.             protection with access control, specifying that
  3229.             only programs known to be safe can be run.
  3230.             
  3231.             For Level IV protection, run VShield with the
  3232.             /CERTIFY option. See the "VShield option
  3233.             descriptions" later in this chapter for details
  3234.             about /CERTIFY.
  3235.             
  3236.             NOTE: VShield has many optional features that
  3237.             you might use at any protection level. See the
  3238.             table "VShield option summary" later in this
  3239.             chapter to see these options.
  3240.             
  3241.             
  3242.             
  3243.             
  3244.             
  3245.             
  3246.             
  3247.             
  3248.             
  3249.             
  3250.             
  3251.             
  3252.             
  3253.             
  3254.             
  3255.             
  3256.             
  3257.             
  3258.             
  3259.             
  3260.             
  3261.             
  3262.             
  3263.             
  3264.             
  3265.             
  3266.             
  3267.             
  3268.             
  3269.             
  3270.             
  3271.             
  3272.             
  3273.             
  3274.             
  3275.             
  3276.             
  3277.             
  3278.            Using VirusScan (Version 2.1.1)                           59            
  3279.             
  3280.             RUNNING VSHIELD
  3281.             
  3282.             VShield checks programs, the master boot record
  3283.             (MBR), boot sector, system files, and itself for
  3284.             virus signatures, the pattern of code unique to
  3285.             each virus. If VShield finds an infection, it
  3286.             prevents programs from running. It also prevents
  3287.             warm boots ([Ctrl]+[Alt]+[Del]) from infected disks.
  3288.             
  3289.             You can use options to control and fine-tune the
  3290.             scope, validation parameters, and operation of
  3291.             the VShield's checks. To use VShield with
  3292.             options, use the following syntax:
  3293.             
  3294.                  vshield [options]
  3295.             
  3296.             [options] indicates one or more options
  3297.             described in the table in the next section.
  3298.             
  3299.             NOTE: Don't enter the square braces, which
  3300.             indicate that what's within them is optional.
  3301.             
  3302.             Because systems and environments differ, VShield
  3303.             gives you a choice of options. Consider the
  3304.             mixture of safety, performance, and maintenance
  3305.             that meets your needs, then choose the
  3306.             combination of options that works best.
  3307.             
  3308.             When you run VShield for the first time, VShield
  3309.             uses the virus information contained in SCAN.DAT
  3310.             and NAMES.DAT to creates a new file,
  3311.             VSHIELD.DAT, in the program directory. The
  3312.             VSHIELD.DAT file contains virus information in a
  3313.             format that is optimized for VShield operation.
  3314.             Thereafter, when you install an updated version
  3315.             of SCAN.DAT, VShield updates VSHIELD.DAT
  3316.             automatically with any new virus information it
  3317.             finds in SCAN.DAT.
  3318.             
  3319.             
  3320.             
  3321.             
  3322.             
  3323.             
  3324.             
  3325.             
  3326.             
  3327.             
  3328.             
  3329.             
  3330.             
  3331.             
  3332.             
  3333.            Using VirusScan (Version 2.1.1)                           60            
  3334.  
  3335.             DOS
  3336.             
  3337.             You can add VShield to your AUTOEXEC.BAT file so 
  3338.             it is activated every time you turn on your computer.
  3339.             
  3340.             You can put VShield at the end of AUTOEXEC.BAT. 
  3341.             In most cases this is OK. However, using a text editor,
  3342.             
  3343.             1. Check the placement of the VShield command
  3344.                line in the AUTOEXEC.BAT file.
  3345.  
  3346.                o VShield must be run before any menu programs,
  3347.                  such as MS-DOS's DOSSHELL or Norton
  3348.                  Commander, or it will not be loaded.
  3349.  
  3350.                o If AUTOEXEC.BAT loads any network drivers,
  3351.                  keyboard drivers, disk caching programs,
  3352.                  drive compression programs, or custom disk
  3353.                  drivers, VShield must be run both before and
  3354.                  after them. These kinds of programs disable
  3355.                  VShield. The second time VShield is loaded,
  3356.                  use only the /RECONNECT option, as described
  3357.                  later in this chapter.
  3358.  
  3359.             2. If necessary, move the line that loads VShield.
  3360.  
  3361.             3. Add the VShield options of your choice to the
  3362.                command line.
  3363.  
  3364.             NOTE: On your VirusScan disk, you'll find
  3365.             AUTOEXEC.VSH, a sample AUTOEXEC.BAT that shows
  3366.             the correct placement of the VShield command
  3367.             line. If you are still not sure whether VShield
  3368.             is in the right place, contact McAfee (see
  3369.             "Technical support" in Chapter 1).
  3370.             
  3371.             WINDOWS
  3372.             
  3373.             When you install VShield, you can add the VShield
  3374.             command line to your AUTOEXEC.BAT file. It also
  3375.             modifies your WIN.INI file to include
  3376.             VSHLDWIN.EXE, which allows VShield to display
  3377.             messages under Windows.
  3378.             
  3379.             However, you may need to change your Windows
  3380.             configuration for VShield to run properly.
  3381.             
  3382.             To do so, follow these steps. If you need help
  3383.             with this procedure, see your Windows
  3384.             documentation, or you can contact McAfee (see
  3385.             "Technical support" in Chapter 1).
  3386.             
  3387.  
  3388.            Using VirusScan (Version 2.1.1)                           61            
  3389.             
  3390.             1. Follow the instructions for DOS users in the
  3391.                previous section.
  3392.  
  3393.             2. Start Windows.
  3394.  
  3395.             3. In the Control Panel, configure Windows to run
  3396.                in 386 enhanced mode.
  3397.  
  3398.             4. Load Windows. You will see the VShield icon on
  3399.                your desktop.
  3400.  
  3401.             If VShield finds or suspects a virus, you'll see
  3402.             a warning message. Choose OK to close the
  3403.             message dialog.
  3404.             
  3405.             Double-clicking the VShield icon only displays a
  3406.             message confirming whether VShield is loaded.
  3407.             
  3408.             OS/2
  3409.             
  3410.             Because OS/2 is a protected environment, you
  3411.             need VShield only during Virtual DOS Machine
  3412.             (VDM) and WIN-OS2 sessions. When you install it,
  3413.             you can add VShield to AUTOEXEC.BAT so it is 
  3414.             activated every time you start a VDM or WIN-OS/2 session.
  3415.             
  3416.             If your start-up batch file is not AUTOEXEC.BAT,
  3417.             edit your start-up batch file to include
  3418.             VShield. For example:
  3419.             
  3420.                  [C:\] vshield /fileaccess
  3421.             
  3422.             NOTE: See "/FILEACCESS," an option we recommend
  3423.             using with OS/2, later in this chapter.
  3424.             
  3425.  
  3426.  
  3427.  
  3428.  
  3429.  
  3430.  
  3431.  
  3432.  
  3433.  
  3434.  
  3435.  
  3436.  
  3437.  
  3438.  
  3439.  
  3440.  
  3441.  
  3442.  
  3443.            Using VirusScan (Version 2.1.1)                           62
  3444.  
  3445.             SPECIAL INSTRUCTIONS FOR NETWORK ADMINISTRATORS
  3446.             
  3447.             You have many options for setting up VShield on
  3448.             a network. The table "Deciding which options are
  3449.             for you" later in this chapter lists options
  3450.             that apply in network environments. If you need
  3451.             assistance in choosing the best configuration
  3452.             for your network, contact McAfee (see "Technical
  3453.             support" in Chapter 1).
  3454.             
  3455.             If you run VShield from a network drive, flag
  3456.             VSHIELD.EXE as EXECUTE ONLY, READ ONLY, and
  3457.             SHAREABLE.
  3458.             
  3459.             If you run VShield from clients' local drives:
  3460.             
  3461.             o Edit all clients' AUTOEXEC.BAT files to load
  3462.               VShield, with the options that are
  3463.               appropriate for your environment, before any
  3464.               other drivers are loaded.
  3465.  
  3466.             o Add VShield with the /RECONNECT option to the
  3467.               AUTOEXEC.BAT or the network login script,
  3468.               after the network drivers are loaded. See
  3469.               /RECONNECT, later in this chapter, for more
  3470.               information.
  3471.  
  3472.             o Run CheckVShield from the login script.
  3473.               CheckVShield returns a
  3474.  
  3475.             DOS ERRORLEVEL that you can use in batch files
  3476.             to check and update VShield. For an example of
  3477.             using CheckVShield, see "Technical note 2:
  3478.             Sample NetWare login script and .BAT file" later
  3479.             in this chapter.
  3480.             
  3481.             
  3482.             
  3483.  
  3484.  
  3485.  
  3486.  
  3487.  
  3488.  
  3489.  
  3490.  
  3491.  
  3492.  
  3493.  
  3494.  
  3495.  
  3496.  
  3497.  
  3498.            Using VirusScan (Version 2.1.1)                           63            
  3499.  
  3500.             VSHIELD OPTION SUMMARY
  3501.             
  3502.             DOS-OS/2 option     Description
  3503.             
  3504.             /? or /HELP    
  3505.               Display a list of valid VShield command line options.
  3506.             
  3507.             /ANYACCESS     
  3508.               Scan the boot sector whenever a diskette is accessed 
  3509.               (read and write); scan executables; scan any newly 
  3510.               created files.
  3511.             
  3512.             /BOOTACCESS    
  3513.               Scan the boot sector for viruses whenever a diskette 
  3514.               is accessed (including read and write).
  3515.             
  3516.             /CERTIFY  
  3517.               Prevent files without validation codes from running.
  3518.             
  3519.             /CF {filename} 
  3520.               Check for viruses using recovery and validation data 
  3521.               stored by Scan /AF in the specified filename.
  3522.             
  3523.             /CONTACT {message}  
  3524.               Display specified message when a virus is found.
  3525.             
  3526.             /CONTACTFILE {filename}  
  3527.               Display message stored in filename when a virus is found.
  3528.             
  3529.             /CV  
  3530.               Check validation codes added to files by Scan.
  3531.             
  3532.             /EXCLUDE {filename} 
  3533.               Don't check files listed in filename for validation codes 
  3534.               (/CF and /CV options).
  3535.             
  3536.             /FILEACCESS    
  3537.               Scan executable files when they are accessed on a 
  3538.               diskette, but don't check the boot sector.
  3539.             
  3540.             /IGNORE {drive(s)}
  3541.               Don't check programs loaded from the specified drive(s).
  3542.             
  3543.             /LOCK     
  3544.               Halt the system when a file that is infected loads 
  3545.               and attempts to execute.
  3546.             
  3547.             /NOEMS    
  3548.               Prevent VShield from loading into expanded memory (EMS).
  3549.             
  3550.             /NOMEM    
  3551.               Don't check memory for viruses.
  3552.             
  3553.            Using VirusScan (Version 2.1.1)                           64            
  3554.  
  3555.             /NOREMOVE 
  3556.               Prevent VShield from being removed from memory with 
  3557.               the /REMOVE switch.
  3558.             
  3559.             /NOUMB    
  3560.               Prevent VShield from loading into upper memory blocks 
  3561.               (UMB).
  3562.             
  3563.             /NOWARMBOOT    
  3564.               Don't check the diskette boot sector for viruses 
  3565.               during warm boot ([Ctrl]+[Alt]+[Del]).
  3566.             
  3567.             /NOXMS    
  3568.               Prevent VShield from using extended memory (XMS) 
  3569.               when it loads.
  3570.             
  3571.             /ONLY {drive(s)}    
  3572.               Check programs loaded only from the specified drive(s).
  3573.             
  3574.             /POLY     
  3575.               Check for polymorphic viruses.
  3576.  
  3577.             /RECONNECT     
  3578.               Restore VShield after certain drivers or TSRs have 
  3579.               disabled it.
  3580.             
  3581.             /REMOVE   
  3582.               Unload VShield from memory.
  3583.             
  3584.             /SAVE     
  3585.               Save the command line options to the VSHIELD.INI file.
  3586.             
  3587.             /SWAP [pathname]    
  3588.               Load VShield kernel (7Kb) only; swap the rest to pathname.
  3589.             
  3590.  
  3591.  
  3592.  
  3593.  
  3594.  
  3595.  
  3596.  
  3597.  
  3598.  
  3599.  
  3600.  
  3601.  
  3602.  
  3603.  
  3604.  
  3605.  
  3606.  
  3607.  
  3608.            Using VirusScan (Version 2.1.1)                           65            
  3609.             
  3610.             VSHIELD OPTION DESCRIPTIONS
  3611.             
  3612.             /? or /HELP
  3613.             
  3614.             Use this option to display a brief description
  3615.             of valid VShield command line options.
  3616.             
  3617.  
  3618.             /ANYACCESS
  3619.             
  3620.             Checks the diskette boot sector and all files
  3621.             for viruses whenever a diskette is accessed by a
  3622.             read or write operation, such as a DIR or COPY
  3623.             command, and when a program on the diskette is
  3624.             opened, read, updated, or executed.
  3625.             
  3626.             /ANYACCESS prevents execution if a program file
  3627.             is infected. It also checks any new files
  3628.             created, such as with a copy command, regardless
  3629.             of the file's extension.
  3630.             
  3631.             This is the highest level of protection against
  3632.             viruses that infect boot sectors. Using
  3633.             /ANYACCESS with either /BOOTACCESS or
  3634.             /FILEACCESS in the same command line returns an
  3635.             error message.
  3636.             
  3637.             NOTE: The /ANYACCESS switch is not recommended
  3638.             for use with DOS and WIN-OS/2 sessions under
  3639.             OS/2 due to certain low-level operating system
  3640.             incompatibilities between OS/2 and DOS. Use the
  3641.             /FILEACCESS switch instead.
  3642.             
  3643.             
  3644.             /BOOTACCESS
  3645.             
  3646.             Checks the boot sector of a diskette for viruses
  3647.             whenever a diskette is accessed by a read or
  3648.             write operation, such as the DIR or copy
  3649.             commands. By default, VShield checks programs
  3650.             when they execute, but does not check the boot
  3651.             sector of the diskette for viruses. Using
  3652.             /BOOTACCESS with /ANYACCESS in the same command
  3653.             line returns an error message.
  3654.             
  3655.             NOTE: This option does not work from within
  3656.             Windows File Manager. For virus-checking within
  3657.             Windows, use the /FILEACCESS or /ANYACCESS
  3658.             switch instead.
  3659.             
  3660.  
  3661.  
  3662.  
  3663.            Using VirusScan (Version 2.1.1)                           66            
  3664.  
  3665.             /CERTIFY
  3666.             
  3667.             Prevents programs from running if they do not
  3668.             have Scan validation codes. Use it in high-
  3669.             security environments to prevent clients from
  3670.             running programs that have not been scanned. To
  3671.             use /CERTIFY, first run Scan with the /AF or /AV
  3672.             option, as described in Chapter 3. Then, use
  3673.             VShield with the /CERTIFY option and either the
  3674.             /CF or /CV option (either is required), such as:
  3675.             
  3676.                  vshield /certify /cf c:\mcafee\recvalch.sav
  3677.             
  3678.             Some programs, such as Lotus 1-2-3, contain self-
  3679.             modifying code and do not work correctly with
  3680.             validation codes attached. You may create an
  3681.             exception list of files to exclude from
  3682.             validation. For instructions, refer to
  3683.             "Technical note 1: Creating an exception list
  3684.             for the /EXCLUDE option" later in this chapter.
  3685.             
  3686.             
  3687.             /CF {filename}
  3688.             
  3689.             Checks validation data stored by Scan's /AF
  3690.             {filename} option, where filename is the name of
  3691.             the validation data file created by Scan. If a
  3692.             file or system area has changed, VShield reports
  3693.             that a viral infection may have occurred. You
  3694.             can specify the /EXCLUDE option to exclude a
  3695.             list of files from validation checking.  In this
  3696.             example:
  3697.              
  3698.                  vshield /cf c:\mcafee\valcodes.dat /noems
  3699.             
  3700.             VShield looks in the VALCODES.DAT file for
  3701.             validation data. For instructions on using Scan
  3702.             /AF to add validation codes, see "Scan option
  3703.             descriptions" in Chapter 3, and "Detecting new
  3704.             and unknown viruses" in Chapter 5.
  3705.             
  3706.             
  3707.             
  3708.             
  3709.             
  3710.             
  3711.             
  3712.             
  3713.             
  3714.             
  3715.             
  3716.             
  3717.  
  3718.            Using VirusScan (Version 2.1.1)                           67            
  3719.             
  3720.             /CONTACT {message}
  3721.             
  3722.             Displays a custom message when a virus is found.
  3723.             This message is displayed in addition to all
  3724.             other VShield messages. Use /CONTACT to let
  3725.             network users know what to do if VShield finds a
  3726.             virus. The message can be up to 50 characters
  3727.             long, and can contain any character except a
  3728.             backslash " \ ". Place messages starting with a
  3729.             hyphen " - " or slash " / " in quotation marks.
  3730.             
  3731.             If your message is longer than 50 characters or
  3732.             you want to store the message text in a file,
  3733.             use /CONTACTFILE instead. Using /CONTACT and
  3734.             /CONTACTFILE in the same command line returns an
  3735.             error message.
  3736.            
  3737.             
  3738.             /CONTACTFILE {filename}
  3739.             
  3740.             An alternative to the /CONTACT option,
  3741.             /CONTACTFILE identifies a file that contains the
  3742.             message string to display when a virus is found.
  3743.             This option is especially useful in network
  3744.             environments, because you can easily maintain
  3745.             the message text in a central file rather than
  3746.             changing the command line in the AUTOEXEC.BAT
  3747.             file on each workstation.
  3748.             
  3749.             If your message is 50 characters or fewer, you
  3750.             can use /CONTACT instead. Using /CONTACT and
  3751.             /CONTACTFILE in the same command line returns an
  3752.             error message.
  3753.             
  3754.             
  3755.             /CV
  3756.             
  3757.             Checks validation codes added by Scan with the
  3758.             /AV option. If a file has changed, VShield
  3759.             reports that the file has been modified and a
  3760.             viral infection may have occurred. You can
  3761.             specify the /EXCLUDE option to exclude a list of
  3762.             files from validation checking. For instructions
  3763.             on using Scan to add validation codes, see "Scan
  3764.             option descriptions" in Chapter 3, and
  3765.             "Detecting new and unknown viruses" in Chapter 5.
  3766.              
  3767.             
  3768.             
  3769.             
  3770.             
  3771.             
  3772.             
  3773.            Using VirusScan (Version 2.1.1)                           68
  3774.  
  3775.             /EXCLUDE {filename}
  3776.             
  3777.             Excludes files listed in filename from
  3778.             validation when using /CF or /CV. For more
  3779.             information on this, see "Technical note 1:
  3780.             Creating an exception list for the /EXCLUDE
  3781.             option" later in this chapter.
  3782.             
  3783.             
  3784.             /FILEACCESS
  3785.             
  3786.             Checks standard executable files whenever the
  3787.             file is accessed or executed, and prevents
  3788.             execution of infected programs. Checks all files
  3789.             when accessed by a read or write operation.
  3790.             Using /ANYACCESS in the same command line with
  3791.             /FILEACCESS returns an error message.
  3792.             
  3793.             NOTE: We recommend always using /FILEACCESS with
  3794.             OS/2. 1 For VShieldCRC, /FILEACCESS checks files
  3795.             only if they have been validated with the /AF or
  3796.             /AV options.
  3797.             
  3798.             
  3799.             /IGNORE {drives}
  3800.             
  3801.             Omits checking program loads from the specified
  3802.             drives, as shown in the following example:
  3803.             
  3804.                  vshield /ignore t: y: w:
  3805.             
  3806.             Use /IGNORE or /ONLY to speed up VShield by
  3807.             excluding secure, virus-free network drives from
  3808.             virus checking. You can specify up to 26 drives.
  3809.             See also /ONLY, described later in this section.
  3810.             Using /IGNORE and /ONLY in the same command line
  3811.             returns an error message.
  3812.             
  3813.             
  3814.             /LOCK
  3815.             
  3816.             Halts the system to stop further infection if
  3817.             VShield finds a virus. /LOCK is appropriate in
  3818.             highly vulnerable network environments, such as
  3819.             open-use computer labs. If you use /LOCK, use
  3820.             /CONTACT or /CONTACTFILE to tell users what to
  3821.             do or whom to contact if a virus is found and
  3822.             the system locks up.
  3823.             
  3824.             
  3825.             
  3826.             
  3827.  
  3828.            Using VirusScan (Version 2.1.1)                           69            
  3829.             
  3830.             /NOEMS
  3831.             
  3832.             Prevents VShield from using expanded memory (LIM
  3833.             EMS 3.2) when it loads. This ensures that EMS is
  3834.             available exclusively to other programs.
  3835.             
  3836.             
  3837.             /NOMEM
  3838.             
  3839.             Skips the memory check for viruses when VShield
  3840.             loads. Using /NOMEM improves performance
  3841.             slightly, but use it only if you are absolutely
  3842.             sure that your system is virus-free.
  3843.             
  3844.             
  3845.             /NOREMOVE
  3846.             
  3847.             Prevents VShield from being removed from memory
  3848.             with the /REMOVE option in a subsequent VShield
  3849.             command. When you load VShield with the
  3850.             /NOREMOVE option, subsequent loads with the
  3851.             /REMOVE option will have not effect. Your
  3852.             network will be more secure if users cannot
  3853.             remove VShield, but this option may prevent
  3854.             users from solving memory limitations or
  3855.             conflicts.
  3856.             
  3857.             
  3858.             /NOUMB
  3859.             
  3860.             Prevents VShield from loading into the upper
  3861.             memory block (UMB, 640Kb to 1024Kb). This
  3862.             ensures that the UMB is available exclusively to
  3863.             other programs.
  3864.             
  3865.             
  3866.             /NOWARMBOOT
  3867.             
  3868.             Omits checking the diskette boot sector during a
  3869.             warm boot ([Ctrl]+[Alt]+[Del]).
  3870.             
  3871.             
  3872.             /NOXMS
  3873.             
  3874.             Prevents VShield from using extended memory when
  3875.             it loads. This ensures that XMS is available
  3876.             exclusively to other programs.
  3877.             
  3878.             
  3879.             
  3880.             
  3881.             
  3882.  
  3883.            Using VirusScan (Version 2.1.1)                           70            
  3884.             
  3885.             /ONLY {drive(s)}
  3886.             
  3887.             Checks program loads only from the specified
  3888.             drive(s), ignoring all other drives, as shown in
  3889.             the following example:
  3890.             
  3891.                  vshield /only c: f: k:
  3892.             
  3893.             Use /IGNORE or /ONLY to speed up VShield by
  3894.             excluding secure, virus-free network drives from
  3895.             virus checking. You can specify up to 26 drives.
  3896.             See also /IGNORE, earlier in this chapter. Using
  3897.             /ONLY and /IGNORE in the same command line
  3898.             returns an error message.
  3899.             
  3900.             
  3901.             /POLY
  3902.             
  3903.             Checks for polymorphic viruses, which are
  3904.             viruses that attempt to evade detection by
  3905.             changing their internal structure or encryption
  3906.             techniques. Otherwise, VShield does not check
  3907.             for polymorphic viruses. Using /POLY on the same
  3908.             command line as /FILEACCESS or /SWAP returns an
  3909.             error.
  3910.             
  3911.             
  3912.             /RECONNECT
  3913.             
  3914.             Restores VShield's links into DOS after another
  3915.             program has disabled it, such as a network
  3916.             driver, keyboard driver, custom disk driver,
  3917.             drive compression program, or disk caching
  3918.             program. These types of programs replace the
  3919.             normal DOS system interrupts so that VShield no
  3920.             longer recognizes program loads. After the lines
  3921.             in your AUTOEXEC.BAT file (or network login
  3922.             script) that load these programs, add this
  3923.             command line to restore VShield:
  3924.             
  3925.                  vshield /reconnect
  3926.             
  3927.             
  3928.             /REMOVE
  3929.             
  3930.             Unloads VShield from memory. You may want to do
  3931.             this temporarily if you are running out of
  3932.             memory for programs. For best results, try using
  3933.             VShield with the /SWAP option first. Use /REMOVE
  3934.             only as a last resort.
  3935.             
  3936.             
  3937.  
  3938.            Using VirusScan (Version 2.1.1)                           71            
  3939.             
  3940.             NOTE: /REMOVE will not work if other memory-
  3941.             resident programs were loaded after VShield, or
  3942.             if VShield was loaded previously with the
  3943.             /NOREMOVE option.
  3944.             
  3945.             
  3946.             /SAVE
  3947.             
  3948.             Stores the VShield options you specify as the
  3949.             defaults in VSHIELD.INI. In the following
  3950.             example, /SAVE saves the /CONTACTFILE N:\MSGFILE
  3951.             as the default setting:
  3952.             
  3953.                  vshield /contactfile n:\msgfile /save
  3954.             
  3955.             To remove custom options and return to VShield's
  3956.             original defaults, use the /SAVE option alone:
  3957.             
  3958.             vshield /save
  3959.             
  3960.             
  3961.             /SWAP [pathname]
  3962.             
  3963.             Installs a small (7Kb) kernel of VShield in
  3964.             memory that loads the rest of VShield from disk
  3965.             on demand. Specify a pathname only if you want
  3966.             VShield to swap to a path other than the
  3967.             directory where VShield resides.
  3968.             
  3969.             Use /SWAP only if you have very little memory
  3970.             available, but require a high assurance of
  3971.             safety. /SWAP will slow down your system and may
  3972.             cause conflicts with programs that fail to
  3973.             allocate memory properly. If you don't have
  3974.             enough memory to load VShield without swapping,
  3975.             consider using VShieldCRC instead. We do not
  3976.             recommend storing the swap file on a network
  3977.             path because, if the workstation disconnects
  3978.             from the network, the workstation will lock.
  3979.             
  3980.  
  3981.  
  3982.  
  3983.  
  3984.  
  3985.  
  3986.  
  3987.  
  3988.  
  3989.  
  3990.  
  3991.  
  3992.  
  3993.            Using VirusScan (Version 2.1.1)                           72            
  3994.             
  3995.             DECIDING WHICH OPTIONS ARE FOR YOU
  3996.  
  3997.             Because systems and environments differ, VShield gives you a
  3998.             choice of options. Consider the mixture of safety,
  3999.             performance, and maintenance that meets your needs, then
  4000.             choose the combination of options that works best.
  4001.  
  4002.             REQUIREMENT       │ OPTION       │ COMMENTS
  4003.             ══════════════════╪══════════════╪══════════════════════════════
  4004.             More complete     │ /ANYACCESS   │ Highest protection against
  4005.             protection, any   │              │ infected diskettes; checks
  4006.             environment       │              │ for viruses whenever a dis-
  4007.                               │              │ kette or files are accessed.
  4008.                               ├──────────────┼──────────────────────────────
  4009.                               │ /FILEACCESS  │ Next highest protection
  4010.                               │              │ against infected diskettes;
  4011.                               │              │ checks for viruses whenever
  4012.                               │              │ a standard file is accessed. 
  4013.                               ├──────────────┼──────────────────────────────
  4014.                               │ /BOOTACCESS  │ Of the three, lowest
  4015.                               │              │ protection against infected
  4016.                               │              │ diskettes; checks for
  4017.                               │              │ viruses in boot sector when
  4018.                               │              │ a diskette is accessed.
  4019.                               ├──────────────┼──────────────────────────────
  4020.                               │ /POLY        │ Used to check for
  4021.                               │              │ polymorphic viruses.
  4022.             ──────────────────┼──────────────┼──────────────────────────────
  4023.             More complete     │ /CERTIFY     │ Use with /CF {filename} or
  4024.             protection,       │              │ /CV and an exception list.
  4025.             stable software   ├──────────────┼──────────────────────────────
  4026.             environment       │ /CF          │ Use /CF or /CV. Of the two,
  4027.                               │              │ /CF is recommended.
  4028.                               ├──────────────┼──────────────────────────────
  4029.                               │ /CV          │ Use /CF or /CV.
  4030.             ──────────────────┼──────────────┼──────────────────────────────
  4031.             Network or multi- │ /CONTACT     │ Use this (or /CONTACTFILE)
  4032.             user environments │              │ to tell users what to do
  4033.                               │              │ when a virus is found.
  4034.                               ├──────────────┼──────────────────────────────
  4035.                               │ /CONTACTFILE │ Use this (or /CONTACT) to
  4036.                               │              │ tell users what to do when 
  4037.                               │              │ a virus is found.
  4038.                               ├──────────────┼──────────────────────────────
  4039.                               │ /IGNORE      │ Use this (or /ONLY) to
  4040.                               │              │ skip virus-free drives.
  4041.                               ├──────────────┼──────────────────────────────
  4042.                               │ /LOCK        │ Use with /CONTACT or
  4043.                               │              │ /CONTACTFILE {filename}.
  4044.             ──────────────────┴──────────────┴──────────────────────────────
  4045.  
  4046.  
  4047.  
  4048.            Using VirusScan (Version 2.1.1)                            73
  4049.  
  4050.             ──────────────────┬──────────────┬──────────────────────────────
  4051.             For network       │ /NOREMOVE    │ Prevents VShield from
  4052.             environments      │              │ being removed from memory.   
  4053.             (continued)       ├──────────────┼──────────────────────────────
  4054.                               │ /ONLY        │ Use this (or IGNORE) to check
  4055.                               │              │ only vulnerable drives.
  4056.                               ├──────────────┼──────────────────────────────
  4057.                               │ /RECONNECT   │ Required if network drivers
  4058.                               │              │ are loaded after VShield.
  4059.             ──────────────────┼──────────────┼──────────────────────────────
  4060.             Faster            │ /NOMEM       │ Only use on a virus-free
  4061.             performance       │              │ computer.
  4062.             any environment   ├──────────────┼──────────────────────────────
  4063.                               │ /NOWARMBOOT  │ Omits checking the boot
  4064.                               │              │ sector after a warm boot.
  4065.             ──────────────────┼──────────────┼──────────────────────────────
  4066.             Manage memory,    │ /NOEMS       │ Use when other programs need
  4067.             any environment   │              │ exclusive use of EMS memory.
  4068.                               ├──────────────┼──────────────────────────────
  4069.                               │ /NOUMB       │ Use when other programs need
  4070.                               │              │ exclusive use of UMB memory.
  4071.                               ├──────────────┼──────────────────────────────
  4072.                               │ /NOXMS       │ Use when other programs need
  4073.                               │              │ exclusive use of XMS memory.
  4074.                               ├──────────────┼──────────────────────────────
  4075.                               │ /NOREMOVE    │ Use to ensure that VShield
  4076.                               │              │ remains in memory.
  4077.                               ├──────────────┼──────────────────────────────
  4078.                               │ /REMOVE      │ May temporarily solve memory
  4079.                               │              │ conflicts.
  4080.                               ├──────────────┼──────────────────────────────
  4081.                               │ /SWAP        │ Use in environments with very
  4082.                               │              │ limited memory.
  4083.             ══════════════════╧══════════════╧══════════════════════════════
  4084.             
  4085.  
  4086.  
  4087.  
  4088.  
  4089.  
  4090.  
  4091.  
  4092.  
  4093.  
  4094.  
  4095.  
  4096.  
  4097.  
  4098.  
  4099.  
  4100.  
  4101.  
  4102.  
  4103.            Using VirusScan (Version 2.1.1)                           74            
  4104.             
  4105.             EXAMPLES
  4106.             
  4107.             The following examples show different option
  4108.             settings:
  4109.             
  4110.                  vshield
  4111.             
  4112.             Activates VShield (Level II protection).
  4113.             
  4114.                  vshield /cv
  4115.             
  4116.             Activates VShield (Level III protection), if you
  4117.             have previously run SCAN /AV.
  4118.             
  4119.                  vshield /certify /cf c:\valcodes.dat
  4120.             
  4121.             Activates VShield (Level IV protection) and
  4122.             checks a recovery and validation data file
  4123.             created when running Scan with the /AF option.
  4124.             
  4125.                  vshield /swap
  4126.             
  4127.             Activates VShield kernel in memory and swaps
  4128.             from the directory in which VShield resides.
  4129.             
  4130.                  vshield /cv /exclude c:\excption.lst /contact
  4131.                  "Call the PC Help Desk!"
  4132.             
  4133.             Activates VShield (Level III protection),
  4134.             ignores checking files in the EXCPTION.LST
  4135.             files, and displays a message if a virus is
  4136.             found.
  4137.             
  4138.                  vshield /reconnect
  4139.             
  4140.             Re-enables VShield after it has been disconnected 
  4141.             by network device drivers.
  4142.             
  4143.  
  4144.  
  4145.  
  4146.  
  4147.  
  4148.  
  4149.  
  4150.  
  4151.  
  4152.  
  4153.  
  4154.  
  4155.  
  4156.  
  4157.  
  4158.            Using VirusScan (Version 2.1.1)                           75            
  4159.             
  4160.             ERROR LEVELS
  4161.             
  4162.             When VShield loads, it sets the DOS ERRORLEVEL.
  4163.             You can use the returned ERRORLEVEL in
  4164.             AUTOEXEC.BAT or other batch files to take
  4165.             different actions based on whether VShield has
  4166.             loaded in memory. See your DOS manual for more
  4167.             information.
  4168.             
  4169.             VShield returns these ERRORLEVELs:
  4170.             
  4171.             ERRORLEVEL/Description
  4172.             
  4173.             0   VShield successfully loaded in memory with all
  4174.                 options operational.
  4175.             
  4176.             9   VShield not loaded correctly. Abnormal termination 
  4177.                 (program error).
  4178.             
  4179.             VShield alerts you to problems by beeping once
  4180.             for system errors, twice for validation errors
  4181.             (/CF or /CF checking), or three times if a virus
  4182.             is found.
  4183.             
  4184.  
  4185.  
  4186.  
  4187.  
  4188.  
  4189.  
  4190.  
  4191.  
  4192.  
  4193.  
  4194.  
  4195.  
  4196.  
  4197.  
  4198.  
  4199.  
  4200.  
  4201.  
  4202.  
  4203.  
  4204.  
  4205.  
  4206.  
  4207.  
  4208.  
  4209.  
  4210.  
  4211.  
  4212.  
  4213.            Using VirusScan (Version 2.1.1)                           76
  4214.  
  4215.             USING VSHIELDCRC
  4216.             
  4217.             For Level I protection on systems with limited
  4218.             memory, use VShieldCRC instead of VShield.
  4219.             VShieldCRC is a separate program that consumes
  4220.             little system overhead, but is not recommended
  4221.             for normal use because it provides only minimal
  4222.             protection. VShieldCRC can inform you that you
  4223.             have been infected with a virus, but it does not
  4224.             check for virus signatures nor does it prevent
  4225.             infection.
  4226.             
  4227.             To use VShieldCRC, first use Scan with the /AF
  4228.             or /AV option. VShieldCRC checks the validation
  4229.             codes added by Scan. It also checks the master
  4230.             boot record (MBR) and boot sector validation
  4231.             codes, if present. See Chapter 3 for
  4232.             instructions on using Scan.
  4233.             
  4234.             To load VShieldCRC with options, use the
  4235.             following syntax:
  4236.             
  4237.                  vshldcrc [options]
  4238.             
  4239.             [options] include the options listed in the
  4240.             table "VShieldCRC option summary" later in this
  4241.             chapter. For more information on all options
  4242.             except /LOGFILE, see "VShield option
  4243.             descriptions" earlier in this chapter.
  4244.             
  4245.             EXAMPLES
  4246.             
  4247.                  vshldcrc
  4248.             
  4249.             Activates VShieldCRC (Level I protection).
  4250.             
  4251.                  vshldcrc /cf valcodes.dat
  4252.             
  4253.             Activates VShieldCRC and checks validation data
  4254.             stored in VALCODES.DAT, a file that was created
  4255.             using Scan with the /AF option.
  4256.             
  4257.  
  4258.  
  4259.  
  4260.  
  4261.  
  4262.  
  4263.  
  4264.  
  4265.  
  4266.  
  4267.  
  4268.            Using VirusScan (Version 2.1.1)                           77
  4269.  
  4270.             VSHIELDCRC OPTION SUMMARY
  4271.             
  4272.             /? or /HELP    
  4273.               Display a list of valid VShieldCRC command line options.
  4274.             
  4275.             /CERTIFY  
  4276.               Prevent files without validation codes from running.
  4277.             
  4278.             /CF {filename} 
  4279.               Check for viruses using recovery and validation data 
  4280.               stored by Scan /AF in the specified filename.
  4281.             
  4282.             /CONTACT {message}  
  4283.               Display specified message when a virus is found.
  4284.             
  4285.             /CONTACTFILE {filename}  
  4286.               Display message stored in specified filename when virus found.
  4287.             
  4288.             /CV  
  4289.               Check validation codes added to files by Scan.
  4290.             
  4291.             /EXCLUDE {filename} 
  4292.               Don't check files listed in filename for validation 
  4293.               codes (used with /CF and /CV options).
  4294.             
  4295.             /FILEACCESS    
  4296.               Scan only validated executable files when accessed, but don't 
  4297.               check boot sector. Prevent infected programs from running.
  4298.             
  4299.             /IGNORE {drive(s)}  
  4300.               Don't check programs loaded from specified drive(s).
  4301.             
  4302.             /LOCK     
  4303.               Halt the system when a file that is not certified 
  4304.               attempts to load and execute.
  4305.             
  4306.             /LOGFILE {filename} 
  4307.               Write error information to filename.
  4308.             
  4309.             /NOREMOVE 
  4310.               Prevent VShieldCRC from being removed from memory 
  4311.               with a subsequent VShieldCRC command using /REMOVE.
  4312.             
  4313.             /NOUMB    
  4314.               Prevent VShieldCRC from using upper memory blocks (UMB) 
  4315.               when it loads.
  4316.             
  4317.             /ONLY {drive(s)}    
  4318.               Check programs loaded only from the specified drive(s).
  4319.             
  4320.             /REMOVE   
  4321.               Unload VShieldCRC from memory.
  4322.             
  4323.            Using VirusScan (Version 2.1.1)                           78            
  4324.             
  4325.             USING CHECKVSHIELD
  4326.             
  4327.             CheckVShield allows network administrators to
  4328.             make sure that workstations are running VShield
  4329.             or VShieldCRC before users can log onto a
  4330.             network. See "Technical note 2: Sample NetWare
  4331.             login script and .BAT file" later in this
  4332.             chapter for a sample Novell NetWare login script
  4333.             using CheckVShield.
  4334.             
  4335.             To load CheckVShield with options, use the
  4336.             following syntax:
  4337.             
  4338.                  chkvshld [option(s)]
  4339.             
  4340.             [option(s)] include:
  4341.             
  4342.             /? and /HELP 
  4343.               Display a list of valid CheckVShield command line 
  4344.               options.
  4345.             
  4346.             /DEBUG  
  4347.               Displays the version of VShield or VShieldCRC resident 
  4348.               in memory and the DOS ERRORLEVEL on the screen.
  4349.             
  4350.             /QUIET 
  4351.               Suppresses CheckVShield messages (quiet mode) so 
  4352.               users don't see the messages.
  4353.             
  4354.             /V "xxxxx" 
  4355.               Tells CheckVShield to look for a specific version 
  4356.               (2.00 or higher) of VShield or VShieldCRC in memory. 
  4357.               For example, /v "2.00" for VShield 2.00.
  4358.             
  4359.             EXAMPLE
  4360.             
  4361.                  chkvshld /quiet
  4362.             
  4363.             Checks for VShield or VShieldCRC in memory and
  4364.             suppresses messages.
  4365.             
  4366.  
  4367.  
  4368.  
  4369.  
  4370.  
  4371.  
  4372.  
  4373.  
  4374.  
  4375.  
  4376.  
  4377.  
  4378.            Using VirusScan (Version 2.1.1)                           79
  4379.             
  4380.             ERROR LEVELS
  4381.             
  4382.             When CheckVShield runs, it sets the DOS
  4383.             ERRORLEVEL. Use the ERRORLEVEL in batch files to
  4384.             take different actions based on the results of
  4385.             CheckVShield's check. The ERRORLEVELs returned
  4386.             by CheckVShield are:
  4387.             
  4388.             ERRORLEVEL/Description
  4389.             
  4390.             0   VShield or VShieldCRC is resident or, if /V is
  4391.                 used, the version specified is resident in memory.
  4392.             
  4393.             1   VShield or VShieldCRC is resident but does not
  4394.                 match the version specified in the /V option.
  4395.             
  4396.             2   VShield or VShieldCRC is not resident in
  4397.                 memory.
  4398.             
  4399.             3   Abnormal termination (program error).
  4400.             
  4401.  
  4402.  
  4403.  
  4404.  
  4405.  
  4406.  
  4407.  
  4408.  
  4409.  
  4410.  
  4411.             
  4412.             
  4413.             
  4414.             
  4415.             
  4416.             
  4417.             
  4418.             
  4419.             
  4420.             
  4421.             
  4422.             
  4423.             
  4424.             
  4425.             
  4426.             
  4427.             
  4428.             
  4429.             
  4430.             
  4431.             
  4432.             
  4433.            Using VirusScan (Version 2.1.1)                           80
  4434.             
  4435.             TECHNICAL NOTE 1:  
  4436.             CREATING AN EXCEPTION LIST FOR THE /EXCLUDE OPTION
  4437.             
  4438.             VShield /CERTIFY permits a file to load only if:
  4439.             
  4440.             o It has been validated by Scan, or
  4441.  
  4442.             o It appears in the exception list file
  4443.               specified with the /EXCLUDE option, used in
  4444.               conjunction with /CF or /CV.
  4445.  
  4446.             If you do not validate any files and do not use
  4447.             an exception list, /CERTIFY will disable all
  4448.             programs other than DOS internal commands.
  4449.             
  4450.             The exception list file is an ASCII or DOS text
  4451.             file containing up to 1,024 characters. If you
  4452.             use a word processor to create it, be sure to
  4453.             save the file as ASCII or DOS Text. Each line in
  4454.             the file contains the path and filename of one
  4455.             file that should not be validated. Here is an
  4456.             example:
  4457.             
  4458.                  c:\clipper\bin\clipper.exe
  4459.                  c:\123\123.com
  4460.                  c:\fox\foxprolx.exe
  4461.                  c:\dos\setver.exe
  4462.                  c:\pkware\pklite.exe
  4463.                  c:\pkware\pkzip.exe
  4464.                  c:\pkware\pkunzip.exe
  4465.                  c:\semware\q.exe
  4466.                  c:\swapvol.com
  4467.                  c:\norton\ncache.exe
  4468.                  c:\wordstar\ws.exe
  4469.             
  4470.  
  4471.  
  4472.  
  4473.  
  4474.  
  4475.  
  4476.  
  4477.  
  4478.  
  4479.  
  4480.  
  4481.  
  4482.  
  4483.  
  4484.  
  4485.  
  4486.  
  4487.  
  4488.            Using VirusScan (Version 2.1.1)                           81
  4489.  
  4490.             TECHNICAL NOTE 2  
  4491.             SAMPLE NETWARE LOGIN SCRIPT AND .BAT FILE
  4492.             
  4493.             Here is a sample system login script for use by
  4494.             Novell NetWare system administrators. The login
  4495.             script gets the ERRORLEVEL from CheckVShield and
  4496.             displays messages on the user's screen. If
  4497.             VShield is not loaded correctly, there is an
  4498.             internal error with CheckVShield, either VShield
  4499.             or VShieldCRC is not installed, or an older
  4500.             version of VShield is present, the script exits
  4501.             the user to a NOLOGIN.BAT file that logs him or
  4502.             her out.
  4503.             
  4504.             #REM REPLACE "XXX" WITH CURRENT VERSION NUMBER
  4505.             CHKVSHLD /V "VXXX"
  4506.               IF ERROR_LEVEL = "3" THEN
  4507.                FIRE PHASERS 5 TIMES
  4508.                WRITE "A CHKVSHLD internal error has occurred."
  4509.                WRITE "Please contact the Help Desk."
  4510.                #COMMAND /C NOLOGIN.BAT
  4511.               EXIT
  4512.              ELSE
  4513.               IF ERROR_LEVEL = "2" THEN
  4514.                FIRE PHASERS 5 TIMES
  4515.                WRITE "VShield has not been installed on your PC."
  4516.                WRITE "Access Denied. Please contact the Help Desk."
  4517.                #COMMAND /C NOLOGIN.BAT
  4518.               EXIT
  4519.              ELSE
  4520.               IF ERROR_LEVEL = "1" THEN
  4521.                FIRE PHASERS 5 TIMES
  4522.                WRITE "An old version of VShield has been installed."
  4523.                WRITE "Access to the network has been denied. Please"
  4524.                WRITE "contact the Help Desk to have a new version"
  4525.                WRITE "installed."
  4526.                #COMMAND /C NOLOGIN.BAT
  4527.                EXIT
  4528.               END
  4529.              END
  4530.             END
  4531.             
  4532.             You can create more complex login scripts to
  4533.             send a message to the supervisor if an error has
  4534.             occurred, update the user's VSHIELD.EXE as he or
  4535.             she logs in to the network, and so forth.
  4536.             
  4537.             Here is a sample of the NOLOGIN.BAT file called
  4538.             by the login script.
  4539.             
  4540.             ECHO OFF
  4541.             REM Log the user off of the network
  4542.             LOGOUT
  4543.            Using VirusScan (Version 2.1.1)                           82            
  4544.             
  4545.             CHAPTER 5: TIPS & TROUBLESHOOTING
  4546.             
  4547.             The other chapters in this manual are meant to
  4548.             tell you clearly and concisely how to use the
  4549.             VirusScan software. Still, you may have
  4550.             questions or encounter confusing situations.
  4551.             This chapter contains two kinds of advice:
  4552.             
  4553.             o Tips for getting the most out of VirusScan.
  4554.  
  4555.             o Common problems and how to solve or avoid
  4556.               them.
  4557.  
  4558.             If this information doesn't help resolve your
  4559.             question or problem, contact McAfee (see
  4560.             "Technical support" in Chapter 1).
  4561.             
  4562.             TIPS
  4563.             
  4564.             DETECTING NEW AND UNKNOWN VIRUSES
  4565.             
  4566.             There are two ways of dealing with new and
  4567.             unknown viruses that may infect your system:
  4568.             
  4569.             o Update VirusScan regularly.
  4570.  
  4571.             o Store and check validation and recovery
  4572.               information about your files.
  4573.  
  4574.             UPDATE VIRUSSCAN REGULARLY
  4575.             
  4576.             Most likely, McAfee will see new viruses long
  4577.             before you do. We update the VirusScan programs
  4578.             often--usually monthly, but more often if many
  4579.             new viruses have appeared. Each new version may
  4580.             detect and eradicate as many as 60 to 100 new
  4581.             viruses or more, and may fix bugs that have been
  4582.             reported.
  4583.             
  4584.             Updating VirusScan regularly is probably all you
  4585.             need to do to protect against new viruses. See
  4586.             the instructions for obtaining new versions in
  4587.             "Updating VirusScan regularly" in Chapter 2.
  4588.  
  4589.  
  4590.  
  4591.  
  4592.  
  4593.  
  4594.  
  4595.  
  4596.  
  4597.  
  4598.            Using VirusScan (Version 2.1.1)                           83            
  4599.             
  4600.             USE THE VALIDATION AND RECOVERY OPTIONS
  4601.             
  4602.             If your environment is highly vulnerable to
  4603.             viruses, or you require unusual security against
  4604.             them, you can use VirusScan's validation and
  4605.             recovery options. Scan checks for new or unknown
  4606.             viruses by comparing files against previously
  4607.             recorded validation data. If a file has been
  4608.             modified, it no longer matches the validation
  4609.             data, and Scan reports that the file may have
  4610.             become infected. Scan has two levels of
  4611.             validation, which are stored in two separate
  4612.             ways:
  4613.             
  4614.             o It can store the enhanced code in a separate
  4615.               recovery file, which can be stored off-line
  4616.               (for example, on a diskette) for recovery
  4617.               purposes (/AF, /CF, and /RF switches). This
  4618.               is the preferred method because it stores the
  4619.               data for files, the boot sector, and the
  4620.               master boot record (MBR) of a disk in the
  4621.               recovery file.
  4622.  
  4623.             o It can append a simple 98-byte validation code
  4624.               to .COM and .EXE files (/AV, /CV, and /RV
  4625.               switches). This method applies to the files
  4626.               you specified only. It does not store data
  4627.               for the boot sector and master boot record (MBR).
  4628.  
  4629.             Once the validation codes are stored, both Scan
  4630.             and VShield can use the /CV and /CF options to
  4631.             detect changes to the files. More importantly,
  4632.             if you have stored the recovery information with
  4633.             /AF, Scan can use it to restore infected files,
  4634.             master boot records (MBR), and boot sectors.
  4635.             
  4636.             All of these options require continuing effort
  4637.             to store and maintain the codes. For example, if
  4638.             you install new programs or upgrade old ones,
  4639.             you should use the /RV or /RF options to remove
  4640.             all codes, then /AV or /AF to restore them.
  4641.             
  4642.             If you want to use one of these methods, which
  4643.             should you use? We recommend the "F"
  4644.             options--/AF, /CF, and /RF--over the "V" options.
  4645.             /AF stores the validation and recovery
  4646.             information in a separate file, instead of
  4647.             modifying the program files themselves. This has
  4648.             three advantages:
  4649.             
  4650.             
  4651.             
  4652.             
  4653.            Using VirusScan (Version 2.1.1)                           84
  4654.             
  4655.             o You can store the recovery file off-line (on
  4656.               your clean anti-viral startup diskette, for
  4657.               example, or on a network drive or tape drive)
  4658.               and access it on demand to check for, and
  4659.               recover from, infection by unknown viruses.
  4660.               Use the procedure below to create a recovery
  4661.               diskette.
  4662.  
  4663.             o This method keeps self-checking files (usually
  4664.               copy-protected programs) from reporting that
  4665.               they have been tampered with.
  4666.  
  4667.             o If you use this method, you don't need an
  4668.               exception list. However, it's important that
  4669.               you run Scan with the /RF option on
  4670.               individual self-modifying files, such as
  4671.               Lotus 1-2-3, to remove the validation codes
  4672.               for those programs from the validation file.
  4673.  
  4674.             The "V" options are primarily useful for
  4675.             companies that distribute software to their
  4676.             customers or employees, and want to incorporate
  4677.             an additional level of virus protection.
  4678.             
  4679.             Creating a recovery diskette To store the
  4680.             recovery file on the clean startup diskette you
  4681.             created in "Making a clean start-up diskette" in
  4682.             Chapter 2, temporarily remove write-protection
  4683.             from the diskette and insert it in drive A. Run
  4684.             Scan on your hard disks with the /AF option. For
  4685.             example:
  4686.             
  4687.                  scan /adl /af a:\scancrc.crc
  4688.             
  4689.             scans the local hard disk drives for known
  4690.             viruses and creates SCANCRC.CRC, a file
  4691.             containing recovery data and validation codes,
  4692.             on the diskette. After Scan finishes, write-
  4693.             protect the diskette.
  4694.             
  4695.             To check for virus infection, turn your computer
  4696.             off, insert the recovery diskette in drive A,
  4697.             and turn the power back on. The PC will now
  4698.             start from the diskette. At the DOS prompt,
  4699.             type:
  4700.             
  4701.                  scan /adl /cf a:\scancrc.crc
  4702.             
  4703.             to compare the local hard disk drives against
  4704.             the recovery data stored on the diskette in the
  4705.             SCANCRC.CRC file.
  4706.             
  4707.             
  4708.            Using VirusScan (Version 2.1.1)                           85            
  4709.             
  4710.             If you detect an unknown virus, to disinfect
  4711.             your system, turn your PC off, insert the
  4712.             recovery diskette, and turn the power back on.
  4713.             The PC will start from the floppy disk. At the
  4714.             DOS prompt, type:
  4715.             
  4716.                  scan /adl /cf a:\scancrc.crc /clean
  4717.             
  4718.             to restore local hard disk drives with the
  4719.             recovery data stored in SCANCRC.CRC on the
  4720.             diskette.
  4721.             
  4722.             If you install new software, or upgrade your DOS
  4723.             version, remember to update your recovery file.
  4724.             See "Application note 1: Updating validation
  4725.             codes" in Chapter 3.
  4726.             
  4727.  
  4728.  
  4729.  
  4730.  
  4731.  
  4732.  
  4733.  
  4734.  
  4735.  
  4736.  
  4737.  
  4738.  
  4739.  
  4740.  
  4741.  
  4742.  
  4743.  
  4744.  
  4745.  
  4746.  
  4747.  
  4748.  
  4749.  
  4750.  
  4751.  
  4752.  
  4753.  
  4754.  
  4755.  
  4756.  
  4757.  
  4758.  
  4759.  
  4760.  
  4761.  
  4762.  
  4763.            Using VirusScan (Version 2.1.1)                           86
  4764.             
  4765.             INTERACTING WITH YOUR NETWORK
  4766.             
  4767.             Many personal computers are interconnected
  4768.             through a local area network (LAN). VirusScan is
  4769.             highly compatible with most networks. Here are
  4770.             some ways of using the VirusScan software with
  4771.             your network:
  4772.             
  4773.             o Run Scan on network drives Run from a
  4774.               workstation (PC) on the network, Scan checks
  4775.               network drives for viruses just as it does local
  4776.               drives. For convenience, the /ADN option scans
  4777.               all network drives to which the workstation is
  4778.               connected.
  4779.             
  4780.             o Use VShield and CheckVShield By activating
  4781.               VShield as part of every workstation's
  4782.               AUTOEXEC.BAT file, you can prevent the
  4783.               workstations from introducing viruses into the
  4784.               network. Network administrators can ensure that
  4785.               VShield is active on each workstation by running
  4786.               CheckVShield as part of the network login script, 
  4787.               before actual login.
  4788.             
  4789.             o Use NetShield provides continuous virus
  4790.               protection on a NetWare server. NetWare network
  4791.               administrators can use it to check for both
  4792.               known and unknown viruses and to monitor all
  4793.               network activities. On other kinds of networks,
  4794.               you can use Scan to check network servers.
  4795.             
  4796.             o Develop a network security program, as described
  4797.               in the next tip.
  4798.             
  4799.  
  4800.  
  4801.  
  4802.  
  4803.  
  4804.  
  4805.  
  4806.  
  4807.  
  4808.  
  4809.  
  4810.  
  4811.  
  4812.  
  4813.  
  4814.  
  4815.  
  4816.  
  4817.  
  4818.            Using VirusScan (Version 2.1.1)                           87            
  4819.             
  4820.             DEVELOP A SECURITY PROGRAM
  4821.            
  4822.             VirusScan has been shown to be an effective
  4823.             virus-preventive measure when used in a
  4824.             conscientiously applied program of network
  4825.             security and regular professional care.
  4826.             
  4827.             VirusScan is one important element of a
  4828.             comprehensive computing security program that
  4829.             includes a variety of safety measures, such as
  4830.             regular backups, meaningful password protection,
  4831.             user training, and awareness. Even with
  4832.             VirusScan, some viruses--not to mention theft or
  4833.             fire--can render a disk unrecoverable without a
  4834.             recent backup. Although outlining such a
  4835.             security program is beyond the scope of this
  4836.             manual, see "Other sources of information" in
  4837.             Chapter 1 for suggestions.
  4838.             
  4839.             If you are a network administrator, we urge you
  4840.             to implement a security program to safeguard
  4841.             your organization's data and productivity. If
  4842.             you are a network user, please support and
  4843.             comply with such a program.
  4844.             
  4845.             TROUBLESHOOTING
  4846.             
  4847.             GENERAL ABNORMALITIES
  4848.             
  4849.             Using VirusScan with other anti-virus software
  4850.             
  4851.             When you run more than one anti-virus program,
  4852.             you risk strange results and false alarms. For
  4853.             example, some anti-virus programs store their
  4854.             "virus signature strings" unprotected in memory.
  4855.             Running VirusScan may "detect" them falsely as a
  4856.             virus.
  4857.             
  4858.             TSR CONFLICTS
  4859.             
  4860.             Some "terminate-and-stay-resident" (TSR)
  4861.             software may conflict with VirusScan programs,
  4862.             especially VShield (which is itself a TSR). To
  4863.             check whether this is the problem, "comment out"
  4864.             the other TSR files in your AUTOEXEC.BAT file
  4865.             and restart your system. If the errors
  4866.             disappear, the TSR conflict caused them.
  4867.             
  4868.  
  4869.  
  4870.  
  4871.  
  4872.  
  4873.            Using VirusScan (Version 2.1.1)                           88
  4874.  
  4875.             SLOW DISK ACCESS, PROGRAM LOCKS
  4876.             
  4877.             Running VShield will slow your system slightly
  4878.             as described in Chapter 4, especially if you use
  4879.             either the /ANYACCESS or /SWAP options. If you
  4880.             experience very slow disk access, or if programs
  4881.             lock or freeze while using Windows 3.1, you may
  4882.             be using a disk cache program that interferes
  4883.             with program operation, or you may need to
  4884.             increase the number of BUFFERS in your
  4885.             CONFIG.SYS file.
  4886.             
  4887.  
  4888.  
  4889.  
  4890.  
  4891.  
  4892.  
  4893.  
  4894.  
  4895.  
  4896.  
  4897.  
  4898.  
  4899.  
  4900.  
  4901.  
  4902.  
  4903.  
  4904.  
  4905.  
  4906.  
  4907.  
  4908.  
  4909.  
  4910.  
  4911.  
  4912.  
  4913.  
  4914.  
  4915.  
  4916.  
  4917.  
  4918.  
  4919.  
  4920.  
  4921.  
  4922.  
  4923.  
  4924.  
  4925.  
  4926.  
  4927.  
  4928.            Using VirusScan (Version 2.1.1)                           89            
  4929.             
  4930.             TROUBLESHOOTING SCAN
  4931.             
  4932.             FALSE ALARMS
  4933.             
  4934.             Scan may incorrectly report viruses in the boot
  4935.             sector or master boot record (MBR) of certain
  4936.             copy-protected diskettes. Contact technical
  4937.             support if you're unsure (see "Technical
  4938.             support" in Chapter 1).
  4939.             
  4940.             TROUBLESHOOTING VSHIELD
  4941.             
  4942.             PROGRAM LOCKS WITH /SWAP
  4943.             
  4944.             When VShield is running with the /SWAP option,
  4945.             certain programs may lock up the computer. These
  4946.             programs may use memory without allocating it
  4947.             first, including older versions Lotus 1-2-3,
  4948.             pfs:Write and Professional Write, OfficeWrite,
  4949.             and DisplayWrite4. To correct, restart your
  4950.             computer and run VShield without the /SWAP
  4951.             option.
  4952.             
  4953.             UNABLE TO REMOVE VSHIELD
  4954.             
  4955.             If the /REMOVE option doesn't successfully
  4956.             remove VShield from memory, you have probably
  4957.             loaded other terminate-and-stay-resident (TSR)
  4958.             programs after VShield. VShield can't be removed
  4959.             until the other TSRs are removed. If you need to
  4960.             unload VShield often, load it last.
  4961.             
  4962.  
  4963.  
  4964.  
  4965.  
  4966.  
  4967.  
  4968.  
  4969.  
  4970.  
  4971.  
  4972.  
  4973.  
  4974.  
  4975.  
  4976.  
  4977.  
  4978.  
  4979.  
  4980.  
  4981.  
  4982.  
  4983.            Using VirusScan (Version 2.1.1)                           90            
  4984.             
  4985.             APPENDIX A:  
  4986.             RETRIEVING MCAFEE PROGRAMS WITH COMMUNICATIONS SOFTWARE
  4987.             
  4988.             You can use your communications software to dial
  4989.             up the McAfee bulletin board system (BBS) and
  4990.             retrieve (download) McAfee software by following
  4991.             these steps.
  4992.             
  4993.             DIAL UP
  4994.             
  4995.             o The McAfee BBS phone number is (408) 988-4004.
  4996.  
  4997.             o The BBS operates at up to 14,400 bps (baud).
  4998.               Set your communications parameters to 8 data
  4999.               bits, 1 stop bit, no parity, and your
  5000.               terminal emulation to ANSI or TTY.
  5001.  
  5002.             o The BBS is Bell- and ITU- (formerly CCITT)
  5003.               compatible.
  5004.  
  5005.             LOG ON
  5006.             
  5007.             After receiving the CONNECT message from your
  5008.             modem, enter your name, geographic location, and
  5009.             password.
  5010.             
  5011.             To retrieve VirusScan programs, type
  5012.             
  5013.             guest   (for first name)
  5014.             user    (for last name)
  5015.             
  5016.             Or, if you want personal answers or feedback,
  5017.             create your own account by entering your first
  5018.             and last name and a password. Passwords should
  5019.             be 3-8 characters long and are case-sensitive.
  5020.             
  5021.             THE MAIN MENU
  5022.             
  5023.             Here are some of the important functions on the
  5024.             main menu:
  5025.             
  5026.             F  File transfer area (download McAfee updates)
  5027.             
  5028.             M  Message area (read and write messages in all
  5029.                sections and e-mail)
  5030.             
  5031.             G  Goodbye (hang up and leave the BBS)
  5032.             
  5033.  
  5034.  
  5035.  
  5036.  
  5037.  
  5038.            Using VirusScan (Version 2.1.1)                           91            
  5039.             
  5040.             DOWNLOADING MCAFEE PROGRAMS
  5041.  
  5042.             1. Select F from the Main Menu to go to the File
  5043.                transfer area. This is the area from which
  5044.                you can download McAfee programs.
  5045.  
  5046.             2. Select 1 for the McAfee Antivirus Files. A
  5047.                sorted directory listing of files available
  5048.                for download will be displayed.
  5049.  
  5050.             3. Type D for download, then type in the filename
  5051.                as found in the directory.
  5052.  
  5053.             4. The BBS will prompt you to select a protocol.
  5054.                If possible, use an error-correcting protocol
  5055.                such as ZMODEM, YMODEM or XMODEM.
  5056.  
  5057.             5. You'll see the message Awaiting start signal.
  5058.                Tell your software to receive files. With
  5059.                PROCOMM for DOS or TELIX, press the [Page
  5060.                Down] key, with BITCOM, press the [F2] key.
  5061.                For other communications programs, check your
  5062.                manual.
  5063.  
  5064.             6. Your software will prompt you to select a
  5065.                protocol and file name to receive the file.
  5066.                Select the same protocol and name.
  5067.  
  5068.  
  5069.  
  5070.  
  5071.  
  5072.  
  5073.  
  5074.  
  5075.  
  5076.  
  5077.  
  5078.  
  5079.  
  5080.  
  5081.  
  5082.  
  5083.  
  5084.  
  5085.  
  5086.  
  5087.  
  5088.  
  5089.  
  5090.  
  5091.  
  5092.  
  5093.            Using VirusScan (Version 2.1.1)                           92            
  5094.             
  5095.             APPENDIX B:
  5096.             OPTIONS COMPARISON BETWEEN VIRUSSCAN VERSIONS 1.5 AND 2.1.1
  5097.             
  5098.             COMPARISON OF SCAN VERSIONS 1.5 and 2.1.1
  5099.  
  5100.                Scan        │ Scan         │
  5101.                Version 1.5 │ Version 2.1.1 │ Option Description
  5102.             ═══════════════╪══════════════╪══════════════════════════             
  5103.               /? /H or     │ /? or /HELP  │ Display help screen.
  5104.               /HELP        │              │
  5105.             ───────────────┼──────────────┼──────────────────────────
  5106.               /A           │ /ALL         │ Scan all files,
  5107.                            │              │ including data files.
  5108.             ───────────────┼──────────────┼──────────────────────────
  5109.               /AD{x}       │ /AD{x}       │ Scan all drives
  5110.                            │              │ {L=Local, N=Network}.
  5111.                            │              │ Leave blank for both
  5112.                            │              │ (version 1.5 only).
  5113.             ───────────────┼──────────────┼──────────────────────────
  5114.               /AF          │ /AF          │ Store
  5115.              {filename}    │ {filename}   │ validation/recovery
  5116.                            │              │ codes in filename.
  5117.             ───────────────┼──────────────┼──────────────────────────
  5118.               /AG          │              │ Add recovery/validation
  5119.               {filename}   │              │ data to files except
  5120.                            │              │ those listed in {filename}.
  5121.             ───────────────┼──────────────┼──────────────────────────
  5122.               /AV          │ /AV          │ Add validation/recovery
  5123.               {filename}   │              │ data to program files.
  5124.                            │              │ Exclude those listed in
  5125.                            │              │ {filename} (version 1.5
  5126.                            │              │ only); exclude those
  5127.                            │              │ listed in /EXCLUDE
  5128.                            │              │ option (version 2.1.1 only).
  5129.             ───────────────┼──────────────┼──────────────────────────
  5130.               /BELL        │ default      │ Beep whenever a virus
  5131.                            │              │ is found.
  5132.             ───────────────┼──────────────┼──────────────────────────
  5133.               /BMP         │ default      │ Scan OS/2 Boot Manager
  5134.                            │              │ partition only.
  5135.             ───────────────┼──────────────┼──────────────────────────             
  5136.                            │ /BOOT        │ Scan master boot record
  5137.                            │              │ and boot sector only.
  5138.             ───────────────┼──────────────┼──────────────────────────
  5139.               /CERTIFY     │              │ List files not having a
  5140.                            │              │ validation code.
  5141.             ───────────────┼──────────────┼──────────────────────────                           
  5142.               /CF          │ /CF          │ Check
  5143.               {filename}   │ {filename}   │ validation/recovery
  5144.                            │              │ codes in filename.
  5145.             ───────────────┼──────────────┼──────────────────────────
  5146.             
  5147.             
  5148.            Using VirusScan (Version 2.1.1)                           93            
  5149.             
  5150.             VERSION COMPARISON OF SCAN OPTIONS (continued)
  5151.  
  5152.                Scan        │ Scan         │
  5153.                Version 1.5 │ Version 2.1.1 │ Option Description
  5154.             ═══════════════╪══════════════╪══════════════════════════             
  5155.               /CG          │              │ Check
  5156.                            │              │ recovery/validation
  5157.                            │              │ data in files.
  5158.             ───────────────┼──────────────┼──────────────────────────
  5159.               /CHKHI       │              │ Check memory from 0Kb
  5160.                            │              │ to 1,088Kb (not
  5161.                            │              │ applicable to OS/2).
  5162.             ───────────────┼──────────────┼──────────────────────────
  5163.               (CLEAN.EXE)  │ /CLEAN       │ Clean up infections in
  5164.                            │              │ master boot records,
  5165.                            │              │ boot sectors, and files
  5166.                            │              │ when possible.
  5167.             ───────────────┼──────────────┼──────────────────────────
  5168.               /CV          │ /CV          │ Check
  5169.                            │              │ validation/recovery
  5170.                            │              │ data in files.
  5171.             ───────────────┼──────────────┼──────────────────────────
  5172.               /D           │ /DEL         │ Overwrite and delete
  5173.                            │              │ infected files.
  5174.                            │              │ Save date and time
  5175.                            │              │ VirusScan was last run
  5176.                            │              │ in SCAN.LOG.
  5177.             ───────────────┼──────────────┼──────────────────────────
  5178.               /DATE        │ /LOG         │ Save date and time
  5179.                            │              │ VirusScan was last run.
  5180.                            │              │ Save in SCAN.LOG file
  5181.                            │              │ (version 2.1.1 only).
  5182.             ───────────────┼──────────────┼──────────────────────────             
  5183.                            │ /EXCLUDE     │ Exclude from scan any
  5184.                            │ {filename}   │ files listed in
  5185.                            │              │ filename. Typically
  5186.                            │              │ used in conjunction
  5187.                            │              │ with the /AV option.
  5188.             ───────────────┼──────────────┼──────────────────────────
  5189.               EXT          │              │ Scan using external
  5190.               {filename}   │              │ virus information from
  5191.                            │              │ filename.
  5192.             ───────────────┼──────────────┼──────────────────────────
  5193.               /FAST        │ /FAST        │ Speed up VirusScan's
  5194.                            │              │ scanning; may detect
  5195.                            │              │ fewer viruses.
  5196.             ───────────────┼──────────────┼──────────────────────────
  5197.               /HISTORY     │ /APPEND      │ Append Scan report to
  5198.               filename     │              │ filename (version 1.5).
  5199.                            │              │ Append to, rather than
  5200.                            │              │ overwrite, the report
  5201.                            │              │ file (/REPORT, version 2.1.1)
  5202.             
  5203.            Using VirusScan (Version 2.1.1)                           94            
  5204.             
  5205.             VERSION COMPARISON OF SCAN OPTIONS (continued)
  5206.  
  5207.                Scan        │ Scan         │
  5208.                Version 1.5 │ Version 2.1.1 │ Option Description
  5209.             ═══════════════╪══════════════╪══════════════════════════             
  5210.               /M           │              │ Scan memory for all
  5211.                            │              │ viruses (not applicable
  5212.                            │              │ to OS/2).
  5213.             ───────────────┼──────────────┼──────────────────────────
  5214.               /MANY        │ /MANY        │ Scan multiple floppy
  5215.                            │              │ disks (diskettes).
  5216.             ───────────────┼──────────────┼──────────────────────────             
  5217.                            │ /MOVE        │ Move infected files to
  5218.                            │ {directory}  │ directory.
  5219.             ───────────────┼──────────────┼──────────────────────────
  5220.               /NLZ         │ /NOCOMP      │ Skip internal scan of
  5221.                            │              │ LZEXE compressed files.
  5222.             ───────────────┼──────────────┼──────────────────────────                           
  5223.               /NOBREAK     │ /NOBREAK     │ Disable Ctrl-C and
  5224.                            │              │ Ctrl-Break during scan.
  5225.             ───────────────┼──────────────┼──────────────────────────
  5226.               /NOEXPIRE    │              │ Do not display
  5227.                            │              │ expiration notice.
  5228.             ───────────────┼──────────────┼──────────────────────────
  5229.               /NOMEM       │ /NOMEM       │ Skip memory checking
  5230.                            │              │ (not applicable to OS/2).
  5231.             ───────────────┼──────────────┼──────────────────────────
  5232.               /NOPAUSE     │ /PAUSE       │ Disable screen pause
  5233.                            │              │ (version 1.5 only).
  5234.                            │              │ Enable screen pause
  5235.                            │              │ (version 2.1.1 only).
  5236.             ───────────────┼──────────────┼──────────────────────────
  5237.               /NPKL        │ /NOCOMP      │ Skip internal scan of
  5238.                            │              │ PKLITE compressed files.
  5239.             ───────────────┼──────────────┼──────────────────────────             
  5240.                            │ /PLAD        │ Preserve Last-Access
  5241.                            │              │ date of scanned files
  5242.                            │              │ on Novell drives.
  5243.             ───────────────┼──────────────┼──────────────────────────
  5244.               /REPORT      │ /REPORT      │ Create report of
  5245.               {filename}   │ {filename}   │ infected files found
  5246.                            │              │ during scan in filename.
  5247.             ───────────────┼──────────────┼──────────────────────────
  5248.               /RF          │ /RF          │ Remove
  5249.               {filename}   │ {filename}   │ validation/recovery
  5250.                            │              │ codes in filename.
  5251.             ───────────────┼──────────────┼──────────────────────────
  5252.               /RG          │ /RG          │ Remove
  5253.                            │              │ recovery/validation
  5254.                            │              │ data from files.
  5255.  
  5256.  
  5257.  
  5258.            Using VirusScan (Version 2.1.1)                            95
  5259.              
  5260.             VERSION COMPARISON OF SCAN OPTIONS (continued)
  5261.  
  5262.                Scan        │ Scan         │
  5263.                Version 1.5 │ Version 2.1.1 │ Option Description
  5264.             ═══════════════╪══════════════╪══════════════════════════             
  5265.                            │ /RPTCOR      │ Add list of corrupted
  5266.                            │              │ files to the report
  5267.                            │              │ file (/REPORT).
  5268.             ───────────────┼──────────────┼──────────────────────────             
  5269.                            │ /RPTERR      │ Add list of system
  5270.                            │              │ errors to the report
  5271.                            │              │ file (/REPORT).
  5272.             ───────────────┼──────────────┼──────────────────────────             
  5273.                            │ /RPTMOD      │ Add list of modified
  5274.                            │              │ files to the report
  5275.                            │              │ file (/REPORT).
  5276.             ───────────────┼──────────────┼──────────────────────────
  5277.               /RV          │ /RV          │ Remove
  5278.                            │              │ validation/recovery
  5279.                            │              │ data from files.
  5280.             ───────────────┼──────────────┼──────────────────────────
  5281.               /SAVE        │ /SAVE        │ Save specified options
  5282.                            │              │ as new defaults (not
  5283.                            │              │ available in Windows).
  5284.             ───────────────┼──────────────┼──────────────────────────
  5285.               /SHOWDATE    │ /SHOWLOG     │ Show date and time of
  5286.                            │              │ last scan (version 1.5
  5287.                            │              │ only). Display
  5288.                            │              │ information in SCAN.LOG
  5289.                            │              │ (version 2.1.1 only)
  5290.             ───────────────┼──────────────┼──────────────────────────
  5291.               /SUB         │ /SUB         │ Scan subdirectories
  5292.                            │              │ inside a directory.
  5293.             ───────────────┼──────────────┼──────────────────────────                           
  5294.                            │ /VIRLIST     │ Display list of viruses
  5295.                            │              │  detected by VirusScan.
  5296.             ───────────────┼──────────────┼──────────────────────────
  5297.                @filename   │  /LOAD       │  Use Scan settings
  5298.                            │  {filename}  │  stored in filename.
  5299.                            │              │
  5300.            
  5301.         
  5302.  
  5303.  
  5304.  
  5305.  
  5306.  
  5307.  
  5308.  
  5309.  
  5310.  
  5311.  
  5312.  
  5313.            Using VirusScan (Version 2.1.1)                           96
  5314.             
  5315.             COMPARISON OF VSHIELD VERSIONS 1.5 and 2.1.1
  5316.  
  5317.                VShield     │ VShield      │
  5318.                Version 1.5 │ Version 2.1.1 │ Option Description
  5319.             ═══════════════╪══════════════╪══════════════════════════             
  5320.                /? or /HELP │ /? or /HELP  │ Display a list of valid
  5321.                            │              │ VShield command line
  5322.                            │              │ options.
  5323.             ───────────────┼──────────────┼──────────────────────────
  5324.                /ACCESS     │              │ Check for viruses when
  5325.                            │              │ files are opened and
  5326.                            │              │ diskettes are accessed.
  5327.             ───────────────┼──────────────┼──────────────────────────             
  5328.                            │ /ANYACCESS   │ Scan the diskette boot
  5329.                            │              │ sector for viruses
  5330.                            │              │ whenever a diskette is
  5331.                            │              │ accessed (including any
  5332.                            │              │ read and write
  5333.                            │              │ operations); scan .EXE,
  5334.                            │              │ .COM, .DLL, .OVL, .BIN,
  5335.                            │              │ and .SYS files whenever
  5336.                            │              │ the file is opened,
  5337.                            │              │ read, or updated; scan
  5338.                            │              │ .EXE and .COM files
  5339.                            │              │ upon execution; scan
  5340.                            │              │ any newly created file,
  5341.                            │              │ regardless of extension.
  5342.             ───────────────┼──────────────┼──────────────────────────
  5343.               /BOOT        │ /BOOTACCESS  │ Scan the diskette boot
  5344.                            │              │ sector for viruses
  5345.                            │              │ whenever a diskette is
  5346.                            │              │ accessed (including any
  5347.                            │              │ read and write
  5348.                            │              │ operations); individual
  5349.                            │              │ files on a diskette are
  5350.                            │              │ not scanned when a
  5351.                            │              │ diskette is accessed.
  5352.             ───────────────┼──────────────┼──────────────────────────
  5353.               /CERTIFY     │ /CERTIFY     │ Prevent files without
  5354.               {filename}   │              │ validation codes from
  5355.                            │              │ running. {filename} is
  5356.                            │              │ an optional exception
  5357.                            │              │ list (version 1.5 only)
  5358.             ───────────────┼──────────────┼──────────────────────────
  5359.               /CF          │ /CF          │ Check for viruses using
  5360.               {filename}   │ {filename}   │ validation and recovery
  5361.                            │              │ data stored by Scan /AF
  5362.                            │              │ in the specified filename.
  5363.             ───────────────┼──────────────┼──────────────────────────
  5364.               /CG          │              │ Check for viruses using
  5365.               {filename}   │              │ validation and recovery
  5366.                            │              │ data stored by Scan /AG
  5367.                            │              │ 
  5368.            Using VirusScan (Version 2.1.1)                           97 
  5369.  
  5370.             VERSION COMPARISON OF VSHIELD OPTIONS (continued)
  5371.  
  5372.                VShield     │ VShield      │
  5373.                Version 1.5 │ Version 2.1.1 │ Option Description
  5374.             ═══════════════╪══════════════╪══════════════════════════             
  5375.               /CHKHI       │ default      │ Check memory from 0Kb-
  5376.                            │              │ 1088Kb when VShield loads.
  5377.             ───────────────┼──────────────┼──────────────────────────
  5378.               /CONTACT     │ /CONTACT     │ Display specified
  5379.               {message}    │ {message}    │ message when a virus is
  5380.                            │              │ found.
  5381.             ───────────────┼──────────────┼──────────────────────────                                         found.
  5382.                            │ /CONTACTFILE │ Display message stored
  5383.                            │ {filename}   │ in filename when a
  5384.                            │              │ virus is found.
  5385.             ───────────────┼──────────────┼──────────────────────────
  5386.               /CV          │ /CV          │ Check validation codes
  5387.                            │              │ added to files by Scan.
  5388.             ───────────────┼──────────────┼──────────────────────────             
  5389.                            │ /EXCLUDE     │ Don't check files
  5390.                            │ {filename}   │ listed in filename for
  5391.                            │              │ validation codes (/CF
  5392.                            │              │ and /CV options).
  5393.             ───────────────┼──────────────┼──────────────────────────
  5394.               /F           │              │ Use with /SWAP for DOS
  5395.              {pathname}    │              │ 2.0 systems ONLY.
  5396.             ───────────────┼──────────────┼──────────────────────────             
  5397.                            │ /FILEACCESS  │ Scan .EXE, .COM, .DLL,
  5398.                            │              │ .OVL, .BIN, and .SYS
  5399.                            │              │ files whenever the file
  5400.                            │              │ is opened, read, or
  5401.                            │              │ updated; scan .EXE and
  5402.                            │              │ .COM files upon
  5403.                            │              │ execution; the diskette
  5404.                            │              │ boot sector is not
  5405.                            │              │ checked when a diskette
  5406.                            │              │ is accessed.
  5407.             ───────────────┼──────────────┼──────────────────────────
  5408.              /IGNORE       │ /IGNORE      │ Don't check programs
  5409.              {drive(s)}    │ {drive(s)}   │ loaded from the
  5410.                            │              │ specified drive(s).
  5411.             ───────────────┼──────────────┼──────────────────────────
  5412.              /LH           │              │ Load VShield into upper
  5413.                            │              │ memory area.
  5414.             ───────────────┼──────────────┼──────────────────────────
  5415.              /LOCK         │ /LOCK        │ Halt the system when a
  5416.                            │              │ file that is infected
  5417.                            │              │ or not certified loads
  5418.                            │              │ and attempts to execute.
  5419.  
  5420.             
  5421.  
  5422.  
  5423.            Using VirusScan (Version 2.1.1)                           98
  5424.             
  5425.             VERSION COMPARISON OF VSHIELD OPTIONS (continued)
  5426.  
  5427.                VShield     │ VShield      │
  5428.                Version 1.5 │ Version 2.1.1 │ Option Description
  5429.             ═══════════════╪══════════════╪══════════════════════════             
  5430.              /M            │              │ Scan base memory for
  5431.                            │              │ viruses when VShield loads.
  5432.             ───────────────┼──────────────┼──────────────────────────
  5433.              /NB           │ /NOWARMBOOT  │ Disable boot sector
  5434.                            │              │ check during install
  5435.                            │              │ and reboot.
  5436.             ───────────────┼──────────────┼──────────────────────────
  5437.              /NI6510       │              │ Fixes Racal Datacomm
  5438.                            │              │ NI6510 conflict.
  5439.             ───────────────┼──────────────┼──────────────────────────
  5440.              /NOBREAK      │              │ Prevent [Ctrl]+[C] /
  5441.                            │              │ [Ctrl]+[Break] from
  5442.                            │              │ working during install.
  5443.             ───────────────┼──────────────┼──────────────────────────
  5444.              /NOCONT       │              │ Prevent non-certified
  5445.                            │              │ programs from running.
  5446.             ───────────────┼──────────────┼──────────────────────────
  5447.              /NODISK       │              │ Turn off the boot
  5448.                            │              │ sector check when
  5449.                            │              │ VShield is loading.
  5450.             ───────────────┼──────────────┼──────────────────────────
  5451.              /NOEMS        │ /NOEMS       │ Prevent VShield from
  5452.                            │              │ using expanded memory
  5453.                            │              │ (EMS) when it loads.
  5454.             ───────────────┼──────────────┼──────────────────────────
  5455.              /NOFLOPPY     │              │ Turn off the boot sector
  5456.                            │              │ check for floppy drives.
  5457.             ───────────────┼──────────────┼──────────────────────────
  5458.              /NOMEM        │ /NOMEM       │ Do not check memory for
  5459.                            │              │ viruses upon running.
  5460.             ───────────────┼──────────────┼──────────────────────────
  5461.              /NOREMOVE     │ /NOREMOVE    │ Prevent VShield from
  5462.                            │              │ being removed from
  5463.                            │              │ memory with the /REMOVE
  5464.                            │              │ switch.
  5465.             ───────────────┼──────────────┼──────────────────────────             
  5466.                            │ /NOUMB       │ Prevent VShield from
  5467.                            │              │ using upper memory
  5468.                            │              │ blocks (UMB) when it
  5469.                            │              │ loads.
  5470.             ───────────────┼──────────────┼──────────────────────────             
  5471.                            │ /NOXMS       │ Prevent VShield from
  5472.                            │              │ using extended memory
  5473.                            │              │ (XMS) when it loads.
  5474.             
  5475.             
  5476.             
  5477.             
  5478.            Using VirusScan (Version 2.1.1)                           99            
  5479.  
  5480.             VERSION COMPARISON OF VSHIELD OPTIONS (continued)
  5481.  
  5482.                VShield     │ VShield      │
  5483.                Version 1.5 │ Version 2.1.1 │ Option Description
  5484.             ═══════════════╪══════════════╪══════════════════════════             
  5485.                /ONLY       │ /ONLY        │ Check programs loaded
  5486.               {drive(s)}   │ {drive(s)}   │ only from the specified
  5487.                            │              │ drive(s).
  5488.             ───────────────┼──────────────┼──────────────────────────              
  5489.                            │ /POLY        │ Check for polymorphic
  5490.                            │              │ viruses.
  5491.             ───────────────┼──────────────┼──────────────────────────              
  5492.               /RECONNECT   │ /RECONNECT   │ Restore VShield after
  5493.                            │              │ certain drivers or TSRs
  5494.                            │              │ have disabled it.
  5495.             ───────────────┼──────────────┼──────────────────────────
  5496.               /REMOVE      │ /REMOVE      │ Unload VShield from
  5497.                            │              │ memory.
  5498.             ───────────────┼──────────────┼──────────────────────────
  5499.               /SAVE        │ /SAVE        │ Save specified options
  5500.                            │              │ as new defaults
  5501.                            │              │ (version 1.5 only).
  5502.                            │              │ Save the command line
  5503.                            │              │ options to the VSHIELD.INI
  5504.                            │              │ file (version 2.1.1 only).
  5505.             ───────────────┼──────────────┼──────────────────────────
  5506.               /SWAP        │ /SWAP        │ Load VShield kernel
  5507.               [pathname]   │ [pathname]   │ only (5Kb in version
  5508.                            │              │ 1.5; 7Kb in version
  5509.                            │              │ 2.1.1); swap the rest
  5510.                            │              │ from pathname.
  5511.                             
  5512.  
  5513.  
  5514.  
  5515.  
  5516.  
  5517.  
  5518.  
  5519.  
  5520.  
  5521.  
  5522.  
  5523.  
  5524.  
  5525.  
  5526.  
  5527.  
  5528.  
  5529.  
  5530.  
  5531.  
  5532.  
  5533.            Using VirusScan (Version 2.1.1)                           100
  5534.              
  5535.             VERSION COMPARISON OF VSHIELD1/VSHIELDCRC OPTIONS
  5536.  
  5537.                VShield1    │ VShieldCRC   │
  5538.                Version 1.5 │ Version 2.1.1 │ Option Description
  5539.             ═══════════════╪══════════════╪══════════════════════════             
  5540.                            │ /? or /HELP  │ Display a list of valid
  5541.                            │              │ VShieldCRC command line
  5542.                            │              │ options.
  5543.             ───────────────┼──────────────┼──────────────────────────             
  5544.                            │ /CERTIFY     │ Prevent files without
  5545.                            │              │ validation codes from
  5546.                            │              │ running.
  5547.             ───────────────┼──────────────┼──────────────────────────             
  5548.                            │ /CF          │ Check for viruses using
  5549.                            │ {filename}   │ validation and recovery
  5550.                            │              │ data stored by Scan /AF
  5551.                            │              │ in the specified filename.
  5552.             ───────────────┼──────────────┼──────────────────────────                           
  5553.                            │ /CONTACT     │ Display specified message
  5554.                            │ {message}    │ when a virus is found.
  5555.             ───────────────┼──────────────┼──────────────────────────            
  5556.                            │ /CONTACTFILE │ Display message stored
  5557.                            │ {filename}   │ in specified filename
  5558.                            │              │ when a virus is found.
  5559.             ───────────────┼──────────────┼──────────────────────────             
  5560.                            │ /CV          │ Check validation codes
  5561.                            │              │ added to files by Scan.
  5562.             ───────────────┼──────────────┼──────────────────────────             
  5563.                            │ /EXCLUDE     │ Don't check files
  5564.                            │ {filename}   │ listed in filename for
  5565.                            │              │ validation codes (used
  5566.                            │              │ with /CF and /CV options).
  5567.             ───────────────┼──────────────┼──────────────────────────             
  5568.                            │ /FILEACCESS  │ Checks validated files
  5569.                            │              │ whenever the file is
  5570.                            │              │ accessed or executed.
  5571.                            │              │ Whenever a validated
  5572.                            │              │ .EXE, .COM, .DLL, .OVL,
  5573.                            │              │ .BIN, or .SYS file is
  5574.                            │              │ opened, read, or
  5575.                            │              │ updated, Scan checks
  5576.                            │              │ the accessed file.
  5577.                            │              │ Whenever a validated
  5578.                            │              │ .EXE or .COM file
  5579.                            │              │ executes, Scan checks
  5580.                            │              │ the file for viruses as
  5581.                            │              │ it loads and prevents
  5582.                            │              │ execution if the file
  5583.                            │              │ is infected.
  5584.  
  5585.  
  5586.  
  5587.  
  5588.            Using VirusScan (Version 2.1.1)                           101
  5589.              
  5590.             VERSION COMPARISON OF VSHIELD1/VSHIELDCRC OPTIONS (continued)
  5591.  
  5592.                VShield1    │ VShieldCRC   │
  5593.                Version 1.5 │ Version 2.1.1 │ Option Description
  5594.             ═══════════════╪══════════════╪══════════════════════════             
  5595.                            │ /IGNORE      │ Don't check programs
  5596.                            │ {drive(s)}   │ loaded from specified
  5597.                            │              │ drive(s).
  5598.             ───────────────┼──────────────┼──────────────────────────             
  5599.                            │ /LOCK        │ Halt the system when a
  5600.                            │              │ file that is not
  5601.                            │              │ certified attempts to
  5602.                            │              │ load and execute.
  5603.             ───────────────┼──────────────┼──────────────────────────                 
  5604.                            │ /LOGFILE     │ Write error information
  5605.                            │ {filename}   │ to filename.
  5606.             ───────────────┼──────────────┼──────────────────────────
  5607.                  /NB       │              │ Disable boot sector
  5608.                            │              │ checking during install
  5609.                            │              │ and reboot.
  5610.             ───────────────┼──────────────┼──────────────────────────                                            and reboot.
  5611.                            │ /NOREMOVE    │ Prevent VShieldCRC from
  5612.                            │              │ being removed from memory 
  5613.                            │              │ with a subsequent VShieldCRC
  5614.                            │              │ command using /REMOVE.
  5615.             ───────────────┼──────────────┼──────────────────────────             
  5616.                            │ /NOUMB       │ Prevent VShieldCRC from
  5617.                            │              │ using upper memory
  5618.                            │              │ blocks (UMB) when it loads.
  5619.             ───────────────┼──────────────┼──────────────────────────             
  5620.                            │ /ONLY        │ Check programs loaded
  5621.                            │ {drive(s)}   │ only from the specified
  5622.                            │              │ drive(s).
  5623.             ───────────────┼──────────────┼──────────────────────────
  5624.                  /REMOVE   │ /REMOVE      │ Unload VShieldCRC from
  5625.                            │              │ memory.
  5626.                                           
  5627.  
  5628.  
  5629.  
  5630.  
  5631.  
  5632.  
  5633.  
  5634.  
  5635.  
  5636.  
  5637.  
  5638.  
  5639.  
  5640.  
  5641.  
  5642.  
  5643.            Using VirusScan (Version 2.1.1)                           102            
  5644.             VIRUSCAN GLOSSARY
  5645.             
  5646.             ARCHIVED FILE  A file that has been archived
  5647.             using either LZEXE or PKLITE, file compression
  5648.             utilities.
  5649.             
  5650.             BOOT  To start a computer. The first step is to
  5651.             load startup instructions from the boot ROM or
  5652.             boot sector of a disk.
  5653.             
  5654.             BIOS  A read-only memory chip that contains the
  5655.             coded instructions for the operating system to
  5656.             start the computer. Always present in portable
  5657.             computers, a BIOS (boot ROM) is not susceptible
  5658.             to infection (unlike the boot sector on a disk).
  5659.             However, it is harder to update.
  5660.             
  5661.             BOOT SECTOR  A portion of a disk that contains
  5662.             the coded instructions for the operating system
  5663.             to start the computer.
  5664.             
  5665.             BOOT SECTOR INFECTIONS  Contamination of the
  5666.             boot sector by a virus. Particularly serious
  5667.             because information in the boot sector is loaded
  5668.             into memory first, before virus protection code
  5669.             can be executed. The only certain way to
  5670.             eliminate boot sector infections is to restart
  5671.             from a disk known to be uninfected, then clean
  5672.             up the infection.
  5673.             
  5674.             CLEAN STARTUP DISKETTE  A diskette known to be
  5675.             uninfected, that contains the coded instructions
  5676.             from which the computer can be started. See
  5677.             Chapter 2 for instructions on preparing one.
  5678.             
  5679.             COLD BOOT  To start a computer from power-off
  5680.             state.
  5681.             
  5682.             COMPRESSED FILE  A file (usually with a .ZIP
  5683.             extension) that has been compressed using the
  5684.             PKZIP file compression utility.
  5685.             
  5686.             CONVENTIONAL MEMORY  Up to 640Kb of main memory
  5687.             in which DOS executes programs.
  5688.             
  5689.             CORRUPTED FILE  A file that has been damaged.
  5690.             About 10% to 20% of viral infections involve
  5691.             viruses that damage files beyond repair.
  5692.             
  5693.             DETECTION  Scanning memory and disks for
  5694.             telltale marks or changes indicating that a
  5695.             virus might be present.
  5696.             
  5697.  
  5698.            Using VirusScan (Version 2.1.1)                           103
  5699.             
  5700.             DISINFECT  To eradicate a virus so that it can
  5701.             no longer spread or cause damage to a system.
  5702.             
  5703.             EXCEPTION LIST  List of files to which
  5704.             validation codes should not be added because
  5705.             they are immunized against viruses or contain
  5706.             self-modifying code. Scans /AV option uses the
  5707.             list to avoid adding codes to inappropriate
  5708.             files; VShield's /CERTIFY option can use it to
  5709.             allow certain unvalidated files to be run.
  5710.             
  5711.             EXECUTABLE (FILE)  A file containing coded
  5712.             instructions to be executed by the computer.
  5713.             Executable files include programs and overlays.
  5714.             
  5715.             EXPANDED MEMORY  Memory above the DOS 640Kb
  5716.             limit of conventional memory that is accessed by
  5717.             memory paging. You need special software,
  5718.             conforming to an expanded memory specification,
  5719.             to take advantage of expanded memory.
  5720.             
  5721.             EXTENDED MEMORY  Linear memory above the DOS
  5722.             640Kb limit of conventional memory. Often used
  5723.             for RAM disks and print spoolers.
  5724.             
  5725.             FALSE ALARM  Detecting a virus when none is
  5726.             present.
  5727.             
  5728.             INFECTED FILE  A file contaminated by a virus.
  5729.             
  5730.             MASTER BOOT RECORD (MBR)  A portion of a hard
  5731.             disk that contains a partition table that
  5732.             divides the drive into chunks, some of which may
  5733.             be assigned to operating systems other than DOS.
  5734.             
  5735.             MEMORY  A storage medium where data or program
  5736.             code are kept temporarily while being used by
  5737.             the computer. DOS supports up to 640Kb of
  5738.             conventional memory. Beyond that limit may be
  5739.             accessed as expanded memory, extended memory, or
  5740.             an upper memory block (UMB).
  5741.             
  5742.             MEMORY INFECTION  Contamination of memory by a
  5743.             virus. The only certain way to eliminate memory
  5744.             infections is to restart from a disk known to be
  5745.             uninfected, then clean up the source of
  5746.             infection.
  5747.             
  5748.             MODIFIED FILE  A file that has changed after
  5749.             validation/recovery codes have been added.
  5750.             
  5751.             
  5752.  
  5753.            Using VirusScan (Version 2.1.1)                           104            
  5754.             
  5755.             OVERLAY INFECTION  Virus contamination of a file
  5756.             containing auxiliary program code that is loaded
  5757.             by the main program.
  5758.             
  5759.             PARTITION TABLE  See MASTER BOOT RECORD.
  5760.             
  5761.             POLYMORPHIC VIRUS  A virus that attempts to
  5762.             evade detection by changing its internal
  5763.             structure or its encryption techniques.
  5764.             
  5765.             PROGRAM  Software that performs a defined
  5766.             function on a computer. See executable.
  5767.             
  5768.             READ OPERATION  Any operation in which
  5769.             information is read from a disk. DOS commands
  5770.             that perform read operations include dir
  5771.             (directory listing), type (display contents of a
  5772.             file), and copy (copy files). See also write
  5773.             operation.
  5774.             
  5775.             RECOVERY CODES  Information that Scan records
  5776.             about an executable file in order to recover if
  5777.             it is infected by a virus. See also validation
  5778.             codes.
  5779.             
  5780.             SELF-MODIFYING PROGRAM  Software that
  5781.             deliberately changes its own program file, often
  5782.             to protect against viruses or illegal copying,
  5783.             and is therefore difficult to validate in
  5784.             conventional ways.
  5785.             
  5786.             STANDARD EXTENSIONS  Filename extensions
  5787.             (suffixes) that signify executable files--.EXE,
  5788.             .COM, .SYS, .DLL, .BIN, and .OVL--which Scan
  5789.             checks by default.
  5790.             
  5791.             SYSTEM ERRORS  Errors that can prevent Scan from
  5792.             completing its job successfully. System error
  5793.             conditions include disk format errors (such as
  5794.             unformatted disks), media errors (bad sectors),
  5795.             file system errors (unreadable files), network
  5796.             errors (unable to log in), file access errors
  5797.             (access permission denied), device access errors
  5798.             (printer out of paper), and report failures.
  5799.             
  5800.             TERMINATE-AND-STAY-RESIDENT (TSR)  A program,
  5801.             like VShield,  that remains active in memory
  5802.             while you run other programs.
  5803.             
  5804.             TURBO  A scanning option that is faster than
  5805.             normal but less comprehensive (because it checks
  5806.             a smaller portion of each file).
  5807.             
  5808.            Using VirusScan (Version 2.1.1)                           105            
  5809.  
  5810.             UNKNOWN VIRUS  A virus not yet identified and
  5811.             listed in SCAN.DAT. VirusScan can detect unknown
  5812.             viruses by observing changes in files that could
  5813.             result from infection.
  5814.             
  5815.             UPPER MEMORY BLOCK (UMB)  Memory in the range
  5816.             640-1024Kb, just above the DOS 640Kb limit of
  5817.             conventional memory.
  5818.             
  5819.             VALIDATE  To check that a file is authentic and
  5820.             has not been altered. Most validation methods
  5821.             rely on computing a statistic based on all the
  5822.             data in the file, which is unlikely to remain
  5823.             constant if the file itself is changed.
  5824.             
  5825.             VALIDATION CODES  Information that Scan records
  5826.             about an executable file in order to detect
  5827.             subsequent infection by a virus. See also
  5828.             recovery codes.
  5829.             
  5830.             VIRUS  A software program that attaches itself
  5831.             to another program in computer memory or on a
  5832.             disk, and spreads from one program to another.
  5833.             Viruses may damage data, cause the computer to
  5834.             crash, display messages, or lie dormant.
  5835.             
  5836.             WARM BOOT  To restart (reset) a running
  5837.             computer, in DOS by pressing [Ctrl]+[Alt]+[Del].
  5838.             
  5839.             WRITE OPERATION  Any operation in which
  5840.             information is recorded on a disk. Commands that
  5841.             perform write operations include those that
  5842.             save, move, and copy files. Most write
  5843.             operations are also read operations because the
  5844.             system verifies that the data have been written
  5845.             correctly. See also read operation.
  5846.             
  5847.             WRITE PROTECTION  A mechanism to protect files
  5848.             or disks from being changed. A 3.5" diskette may be 
  5849.             write-protected by sliding its corner tab so that 
  5850.             the square hole is open; a 5.25" diskette by covering 
  5851.             its corner notch with a write-protect tab. A file 
  5852.             may be write-protected by changing its system attributes.
  5853.             
  5854.             
  5855.             
  5856.